summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-02-10 22:40:21 +0100
committerDerek Jones <derek.jones@ellislab.com>2009-02-10 22:40:21 +0100
commit09a45be4b33751c1bd481f4301363db723b6881b (patch)
treefa03aacb74b15fd7448fa50902529cc73a61e95b /system/libraries
parent7b3b96cff8d0b1b36caaaef5cd58fcfea5e3537e (diff)
changed exit() to show_error() in _filter_uri()
http://codeigniter.com/bug_tracker/bug/6500/
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/URI.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/URI.php b/system/libraries/URI.php
index aa2d71e87..b95c74e1a 100644
--- a/system/libraries/URI.php
+++ b/system/libraries/URI.php
@@ -189,7 +189,7 @@ class CI_URI {
if ( ! preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i", $str))
{
header('HTTP/1.1 400 Bad Request');
- exit('The URI you submitted has disallowed characters.');
+ show_error('The URI you submitted has disallowed characters.');
}
}