1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

Issue #4427 - e_QUERY

This commit is contained in:
Cameron
2021-02-28 08:33:37 -08:00
parent 8a4d9a729f
commit 4e58326be3

View File

@@ -5461,7 +5461,7 @@ class e107
// 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 // 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")) if(!deftrue("e_SINGLE_ENTRY"))
{ {
$e_QUERY = filter_var($e_QUERY, FILTER_SANITIZE_URL); //FIXME Breaks non-latin chars: @see https://github.com/e107inc/e107/issues/719 $e_QUERY = filter_var($e_QUERY, FILTER_SANITIZE_FULL_SPECIAL_CHARS); //FIXME Breaks non-latin chars: @see https://github.com/e107inc/e107/issues/719
if(!defined('e_QUERY')) if(!defined('e_QUERY'))
{ {
define('e_QUERY', $e_QUERY); define('e_QUERY', $e_QUERY);