From 69eb9d68e0f3071d3921be869815a4d38e23fbd9 Mon Sep 17 00:00:00 2001 From: Razican Date: Tue, 11 Nov 2014 12:23:05 +0200 Subject: [PATCH] Remove URI filter for parenthesis and dollar symbols, as talked in #47. Signed-off-by: Razican --- system/core/URI.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/system/core/URI.php b/system/core/URI.php index 1817374b71f..7809e17c085 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -326,13 +326,6 @@ public function filter_uri($str) { 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 - ); } // --------------------------------------------------------------------