mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
cleanHtml() was urlencoding {e_XXXX} paths in html.
This commit is contained in:
@@ -487,7 +487,9 @@ class e_parse extends e_parser
|
||||
|
||||
if (strip_tags($data) != $data) // html tags present.
|
||||
{
|
||||
|
||||
$data = $this->cleanHtml($data); // sanitize all html.
|
||||
$data = urldecode($data); // symptom of cleaning the HTML - urlencodes src attributes containing { and } .eg. {e_BASE}
|
||||
// if ($this->htmlAbuseFilter($data)) $no_encode = FALSE; //XXX cleanHtml() is more effective.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user