mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Fixes #1007 - toDB() was breaking {e_XXX} paths when HTML was used.
This commit is contained in:
@@ -524,6 +524,9 @@ class e_parse extends e_parser
|
||||
$this->isHtml = true;
|
||||
$data = $this->cleanHtml($data); // sanitize all html.
|
||||
|
||||
$data = str_replace(array('%7B','%7D'),array('{','}'),$data); // fix for {e_XXX} paths.
|
||||
|
||||
|
||||
// $data = urldecode($data); //XXX Commented out : NO LONGER REQUIRED. symptom of cleaning the HTML - urlencodes src attributes containing { and } .eg. {e_BASE}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user