summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-11-05 14:54:30 +0100
committerAlex Bilbie <alex@alexbilbie.com>2012-11-05 14:54:30 +0100
commit8e8937b01d47597bae5d1c7736b4e2057e2291d6 (patch)
tree70dc122f6da17f4af6f1116e2764daa6e75af965 /system/core/Input.php
parentf4a448e2be54dd0c4054acc0fde316a6a3c41a80 (diff)
parent3c0846b019ed533852a148eb68c62a02c03d27a8 (diff)
Merge pull request #1730 from damao/develop
Fix / Disallowed Key Characters.
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 142e2b434..c0158df99 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -691,7 +691,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.');