diff options
author | Andrey Andreev <narf@devilix.net> | 2014-12-05 10:35:08 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-12-05 10:35:08 +0100 |
commit | bc11439c5f7fbbb1ef0257f8083c375eeb9dd79c (patch) | |
tree | aad47028ea3237e1744b5800438d52a9973fb7c6 /system/core | |
parent | 87e2016258a6dd60d3fd322e0162c95038856850 (diff) | |
parent | 61a0aee144710228ea30afa672adf530623d35d5 (diff) |
Merge pull request #3323 from Razican/remove-uri-filter
Remove conversion of 'programmatic characters' to HTML entities in CI_URI::filter_uri()
Close #47
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/URI.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index 1817374b7..067338d2a 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -327,12 +327,7 @@ class CI_URI { show_error('The URI you submitted has disallowed characters.', 400); } - // Convert programatic characters to entities and return - return str_replace( - array('$', '(', ')', '%28', '%29'), // Bad - array('$', '(', ')', '(', ')'), // Good - $str - ); + return $str; } // -------------------------------------------------------------------- |