summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authortianhe1986 <w1s2j3229@163.com>2017-02-04 09:57:45 +0100
committertianhe1986 <w1s2j3229@163.com>2017-02-04 09:57:45 +0100
commitb3c113f60a0343c3dbf16a3b6898270c698f45bb (patch)
treee45f3ef1c0433d9d01353c1feb7906de296f3986 /system
parent9b3cef3a108055b67a9c34c6b07cd0aea3030eff (diff)
Removing url encoded 127.
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
Diffstat (limited to 'system')
-rw-r--r--system/core/Common.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 2db94c165..cef9f47e0 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -717,6 +717,7 @@ if ( ! function_exists('remove_invisible_characters'))
{
$non_displayables[] = '/%0[0-8bcef]/i'; // url encoded 00-08, 11, 12, 14, 15
$non_displayables[] = '/%1[0-9a-f]/i'; // url encoded 16-31
+ $non_displayables[] = '/%7f/i'; // url encoded 127
}
$non_displayables[] = '/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S'; // 00-08, 11, 12, 14-31, 127