summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRazican <admin@razican.com>2014-11-11 11:23:05 +0100
committerRazican <admin@razican.com>2014-11-11 11:23:05 +0100
commit1c775e7d0b95bbf972f3924319a8d46f54be0dc9 (patch)
tree49ddf0f5f73d9a82a7886d5d974a371f49132cc5
parenta767e84fd3fe38539797935b5e98d958d1a431b9 (diff)
Remove URI filter for parenthesis and dollar symbols, as talked in #47.
Signed-off-by: Razican <admin@razican.com>
-rw-r--r--system/core/URI.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/system/core/URI.php b/system/core/URI.php
index 1817374b7..7809e17c0 100644
--- a/system/core/URI.php
+++ b/system/core/URI.php
@@ -326,13 +326,6 @@ 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('&#36;', '&#40;', '&#41;', '&#40;', '&#41;'), // Good
- $str
- );
}
// --------------------------------------------------------------------