diff options
author | Derek Jones <derek.jones@ellislab.com> | 2009-02-10 22:40:21 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2009-02-10 22:40:21 +0100 |
commit | 09a45be4b33751c1bd481f4301363db723b6881b (patch) | |
tree | fa03aacb74b15fd7448fa50902529cc73a61e95b | |
parent | 7b3b96cff8d0b1b36caaaef5cd58fcfea5e3537e (diff) |
changed exit() to show_error() in _filter_uri()
http://codeigniter.com/bug_tracker/bug/6500/
-rw-r--r-- | system/libraries/URI.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
2 files changed, 2 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.'); } } diff --git a/user_guide/changelog.html b/user_guide/changelog.html index a0a54a33a..aa5f3cb92 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -135,6 +135,7 @@ SVN Revision: </p> <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> |