Indeed - and the URL looks like it will be fine; with lots of %3Fs and %2As..... Unfortunately after a lot of digging around, I've discovered a 'feature' in Apache mod_rewrite due to the way that cake uses it's pretty URLs.
It means that the URL is already **unencoded** by the time it reaches the Cake Router/Dispatcher -- which promptly throws it's arms in the air and passes-out when it sees: "/controller/action/param1:abc/ param2:http://www.domain.com/path" There is a solution using Apache RewriteMaps - however, they are only available in httpd.conf, not .htaccess, so not a generally useful tool. I have found *a* solution though. I'm using base64_encode() to convert the URL param to a string of uuencoded numbers/letters -- and that works well! Thanks for taking the time to answer folks -- I hope my investigations are useful to someone else... -C On Feb 10, 5:50 pm, mscdex <[email protected]> wrote: > dr. Hannibal Lecter wrote: > > URL encoded query strings perhaps? > > I second this, PHP makes this easy:http://us2.php.net/urlencode --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
