Use SafeIFrame feature of HTML Purifier
Bug #922360 reported by
François Marier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
François Marier |
Bug Description
We should look at replacing the iframe filters we have in htdocs/
http://
http://
(This of course depends on bug #921314.)
Changed in mahara: | |
assignee: | nobody → François Marier (fmarier) |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: newfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/1066 gitorious. org/mahara/ mahara/ commit/ f4cd8d19876c1df 2320c0d5ac2dc5f 77e57c2e0f
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit f4cd8d19876c1df 2320c0d5ac2dc5f 77e57c2e0f
Author: Francois Marier <email address hidden>
Date: Tue Feb 21 14:38:27 2012 +1300
htmlpurifier: migrate custom iframe filters to URI.SafeIframeR egexp
The new HTML.SafeIframe setting in HTML Purifier 4.4.0 allows us
to remove our fragile custom filters.
The regular expressions are not quite as tight, but they are
restricted to the src attribute and HTML Purifier will hopefully
apply the right filters.
Bug #922360 (also fixes bug #885066)
Change-Id: Ifaa9f13ae77b28 e18df640103e205 a94bc3af2d7
Signed-off-by: Francois Marier <email address hidden>