libraries/Router.php Bug |
[eluser]Unknown[/eluser]
Hello, I found that if we try to visit any CI controller with spaces in the URL (i.e. http://www.example.com/abc/ ), it will give a notice error in libraries/Router.php file on Lines 201, 207, and 210. The problem was in the _validate_request() method in CI_Router class. I added the following code to the beginning of that function to fix the problem: Code: /** Is this a valid bug in the CI_Router class? |
Messages In This Thread |
libraries/Router.php Bug - by El Forum - 10-21-2009, 10:24 AM
libraries/Router.php Bug - by El Forum - 10-21-2009, 12:08 PM
libraries/Router.php Bug - by El Forum - 10-21-2009, 11:28 PM
libraries/Router.php Bug - by El Forum - 10-21-2009, 11:38 PM
|