diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 18:59:11 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 18:59:11 +0200 |
commit | 04d43fea485a65086ae814625c2d687ce6fc13c6 (patch) | |
tree | 36147ddea7e8d1cba093116921aa58f4e098dae6 /system/core/URI.php | |
parent | 40bd2a7fb2fb98a10c4e3758897a595ae78ab5f8 (diff) |
Fixed bug introduced in ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-x | system/core/URI.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index 9c5025128..0afb374c2 100755 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -270,7 +270,7 @@ class CI_URI { */ public function _filter_uri($str) { - if ($str !== '' && $this->config->item('permitted_uri_chars') !== '' && $this->config->item('enable_query_strings') === FALSE) + if ($str !== '' && $this->config->item('permitted_uri_chars') != '' && $this->config->item('enable_query_strings') === FALSE) { // preg_quote() in PHP 5.3 escapes -, so the str_replace() and addition of - to preg_quote() is to maintain backwards // compatibility as many are unaware of how characters in the permitted_uri_chars will be parsed as a regex pattern |