changed exit() to show_error() in _filter_uri()
http://codeigniter.com/bug_tracker/bug/6500/
diff --git a/system/libraries/URI.php b/system/libraries/URI.php
index aa2d71e..b95c74e 100644
--- a/system/libraries/URI.php
+++ b/system/libraries/URI.php
@@ -189,7 +189,7 @@
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.');
}
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index a0a54a3..aa5f3cb 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -135,6 +135,7 @@
<li>Fixed a bug (#6706) in the Security Helper where xss_clean() was using a deprecated second argument.</li>
<li>Fixed a bug in the URL helper url_title() function where trailing periods were allowed at the end of a URL.</li>
<li>Fixed a bug (#6669) in the Email class when CRLF's are used for the newline character with headers when used with the "mail" protocol.</li>
+ <li>Fixed a bug (#6500) where URI::A_filter_uri() was exit()ing an error instead of using show_error().</li>
<li>Tweaked Typography::auto_typography() for some edge-cases.</li>
</ul>