summaryrefslogtreecommitdiffstats
path: root/system/libraries/URI.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/URI.php')
-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.');
}
}