commit | 8e8937b01d47597bae5d1c7736b4e2057e2291d6 | [log] [tgz] |
---|---|---|
author | Alex Bilbie <alex@alexbilbie.com> | Mon Nov 05 05:54:30 2012 -0800 |
committer | Alex Bilbie <alex@alexbilbie.com> | Mon Nov 05 05:54:30 2012 -0800 |
tree | 70dc122f6da17f4af6f1116e2764daa6e75af965 | |
parent | f4a448e2be54dd0c4054acc0fde316a6a3c41a80 [diff] | |
parent | 3c0846b019ed533852a148eb68c62a02c03d27a8 [diff] |
Merge pull request #1730 from damao/develop Fix / Disallowed Key Characters.
diff --git a/system/core/Input.php b/system/core/Input.php index 142e2b4..c0158df 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -691,7 +691,7 @@ */ 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.');