Permalink
Browse files

Merge pull request #1730 from damao/develop

Fix / Disallowed Key Characters.
  • Loading branch information...
2 parents f4a448e + 3c0846b commit 8e8937b01d47597bae5d1c7736b4e2057e2291d6 @alexbilbie alexbilbie committed Nov 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Input.php
View
@@ -691,7 +691,7 @@ protected function _clean_input_data($str)
*/
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.');

0 comments on commit 8e8937b

Please sign in to comment.