diff options
author | bigCat <i@ooxx.me> | 2012-08-20 18:20:20 +0200 |
---|---|---|
committer | bigCat <i@ooxx.me> | 2012-08-20 18:20:20 +0200 |
commit | 3c0846b019ed533852a148eb68c62a02c03d27a8 (patch) | |
tree | 7c398c3e7f459b056480dac49ac56524b47766be /system/core | |
parent | 58854c372175552bb9e360deace7eeb52cdda059 (diff) |
China's biggest ICP China Telecom will hijack user and leave a cookie contains | .
such as "1345466626|7601294|43373|0|0|0"
it's impossible to fix this shit...
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 968a42a9a..d7bfed3f8 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -620,7 +620,7 @@ class CI_Input { */ protected function _clean_input_keys($str) { - if ( ! preg_match('/^[a-z0-9:_\/-]+$/i', $str)) + if ( ! preg_match('/^[a-z0-9:_\/|-]+$/i', $str)) { set_status_header(503); exit('Disallowed Key Characters.'); |