summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorbigCat <i@ooxx.me>2012-08-20 18:20:20 +0200
committerbigCat <i@ooxx.me>2012-08-20 18:20:20 +0200
commit3c0846b019ed533852a148eb68c62a02c03d27a8 (patch)
tree7c398c3e7f459b056480dac49ac56524b47766be /system/core/Input.php
parent58854c372175552bb9e360deace7eeb52cdda059 (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/Input.php')
-rw-r--r--system/core/Input.php2
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.');