Due to the way Apache's mod_rewrite mismanages query string encoding,
$_GET['url'] isn't what I'd hope it would be when there are pluses
encoded (%2B) in the URL.

It looks like replacing line 614 of dispatcher.php with the following
works on my apache config:

if(isset($_SERVER['REDIRECT_URL']))
        $url = $_SERVER['REDIRECT_URL']; //Will have correct special-char
encoding.
else
        $url = $_GET['url'];

Is there some reason I'm not aware of that I should _not_ do this?


Ben Dilts
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to