diff options
author | Erich Eckner <git@eckner.net> | 2019-08-07 10:34:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-07 10:34:20 +0200 |
commit | 46abc613e2ff04f8953e2b94abac5b97d03d0f71 (patch) | |
tree | e84ddf709448460d9fa3aae3600a83f34094536a /init.php | |
parent | 87dadcf429a8d2367608f422de8accdd4103ba48 (diff) | |
download | archweb32-46abc613e2ff04f8953e2b94abac5b97d03d0f71.tar.xz |
init.php: urldecode() QUERY_STRING and REQUEST_URI before cleaning
Diffstat (limited to 'init.php')
-rw-r--r-- | init.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ $_SERVER['QUERY_STRING'] = htmlspecialchars( preg_replace( '/%.?.?/', '', - $_SERVER['QUERY_STRING'] + urldecode($_SERVER['QUERY_STRING']) ) ) ); @@ -16,7 +16,7 @@ $_SERVER['REQUEST_URI'] = htmlspecialchars( preg_replace( '/%.?.?/', '', - $_SERVER['REQUEST_URI'] + urldecode($_SERVER['REQUEST_URI']) ) ) ); |