Antisamy should allow the data-mathml attribute on img tags

Description

https://sakaiproject.atlassian.net/browse/SAK-23266#icft=SAK-23266 introduced the fmath editor. The editor stores MathML data in the data-mathml attribute.

In 2.9.2-rc01, the FMath functionality will no longer work because of this Antisamy restriction.

To replicate:

1) Login as admin
2) Go to mercury site -> Announcements
3) Add new announcement
4) Choose Fmath icon in CKEditor (2nd row, far right)
5) Create new equation (just enter numbers like 12345)
6) Insert
7) Attempt to save

Environment

None

Test Plan

None

Attachments

2
  • 30 Apr 2013, 01:55 PM
  • 29 Apr 2013, 05:38 PM

Activity

Neal Caidin May 15, 2013 at 8:42 AM

Redid this test , and it passed again :-). The Longsight QA server is currently using the default of AntiSamy off, so I retested on the Universiteit van Amsterdam which is set to AntiSamy on high setting.

Neal Caidin May 13, 2013 at 9:32 AM

Tested on 2.9.2-rc02 on Mac OS X, Safari. Also tested on Windows 7 / IE 9 qa29.longsight.com . On Safari tested with Announcements, Assignments, Forums and Tests & Quizzes. On IE 9 only tested on Announcements. All worked.

Anthony Whyte May 3, 2013 at 2:59 PM

Merged kernel 1.3.x 123608.

Anthony Whyte May 3, 2013 at 2:32 PM

Merge conflict is due to KNL-1065, r123381, resolved but not verified and therefore not picked up in the merge stream.

Hudson CI Server May 1, 2013 at 5:44 PM

Integrated in kernel-trunk #666 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/666/)
https://sakaiproject.atlassian.net/browse/KNL-1061#icft=KNL-1061 Real fix for antisamy allowing the data-mathml attribute on img tags (Revision 123409)

Result = SUCCESS

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 23, 2013 at 5:27 PM
Updated April 25, 2018 at 3:20 PM
Resolved April 30, 2013 at 1:56 PM

Flag notifications