mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Fixes #719 - entity encoding on non-english characters. This change requires thorough testing of all e107 pages using URL queries.
This commit is contained in:
@@ -3359,7 +3359,9 @@ class e107
|
||||
}
|
||||
|
||||
if ($no_cbrace) $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($e_QUERY));
|
||||
$e_QUERY = htmlentities(self::getParser()->post_toForm($e_QUERY));
|
||||
|
||||
// $e_QUERY = htmlentities(self::getParser()->post_toForm($e_QUERY)); //@see https://github.com/e107inc/e107/issues/719
|
||||
$e_QUERY = htmlspecialchars(self::getParser()->post_toForm($e_QUERY));
|
||||
|
||||
// e_QUERY SHOULD NOT BE DEFINED IF IN SNIGLE ENTRY MODE OR ALL URLS WILL BE BROKEN - it's defined later within the the router
|
||||
if(!deftrue("e_SINGLE_ENTRY"))
|
||||
|
Reference in New Issue
Block a user