summaryrefslogtreecommitdiffstats
path: root/system/core/URI.php
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-06-02 18:59:11 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-06-02 18:59:11 +0200
commit04d43fea485a65086ae814625c2d687ce6fc13c6 (patch)
tree36147ddea7e8d1cba093116921aa58f4e098dae6 /system/core/URI.php
parent40bd2a7fb2fb98a10c4e3758897a595ae78ab5f8 (diff)
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-xsystem/core/URI.php2
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