Um problema que tive com o SocialSportClub logo que o site foi migrado para PHP 5.
As páginas estavam todas inacessíveis com a mensagem:
“The URI you submitted has disallowed characters.”
A solução aplicada foi encontrada no link abaixo:
A solução (copiada da origem):
How to fix it. (assuming codeigniter 1.7)
1) in codeigiter system/libraries open URI.php line 189 you’ll find
if ( ! preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))
Change that to:
if ( ! preg_match("|^[".($this->config->item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))
Note we removed the preg_quote().
