_fetch_uri_string |
[eluser]Pascal Kriete[/eluser]
When I call the ci directory directly, such as (in this case with mod_rewrite): Quote:http://localhost/testpage/ My server returns '/' for the $_SERVER['PATH_INFO']: Code: $path = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : @getenv('PATH_INFO'); An empty string fails the regular expression in said function and thus returns a "URI has disallowed characters" error. Idea for a Fix: Add: Code: AND $path != "/" |
Messages In This Thread |
_fetch_uri_string - by El Forum - 01-17-2008, 09:30 PM
_fetch_uri_string - by El Forum - 01-18-2008, 04:50 AM
|