Reviewed: https://reviews.mahara.org/1066 Committed: http://gitorious.org/mahara/mahara/commit/f4cd8d19876c1df2320c0d5ac2dc5f77e57c2e0f Submitter: Francois Marier (<email address hidden>) Branch: master
commit f4cd8d19876c1df2320c0d5ac2dc5f77e57c2e0f Author: Francois Marier <email address hidden> Date: Tue Feb 21 14:38:27 2012 +1300
htmlpurifier: migrate custom iframe filters to URI.SafeIframeRegexp
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: Ifaa9f13ae77b28e18df640103e205a94bc3af2d7 Signed-off-by: Francois Marier <email address hidden>
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>