Skip to content

Commit

Permalink
Remove URI filter for parenthesis and dollar symbols, as talked in bc…
Browse files Browse the repository at this point in the history
…it-ci#47.

Signed-off-by: Razican <admin@razican.com>
  • Loading branch information
Razican authored and goreilly committed Jan 3, 2015
1 parent f3cf6df commit 69eb9d6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions system/core/URI.php
Expand Up @@ -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('&#36;', '&#40;', '&#41;', '&#40;', '&#41;'), // Good
$str
);
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit 69eb9d6

Please sign in to comment.