Hi!

I need to pass a question mark in a named param value:

http://mysite/resources/search/a:0/q:art%3Fculo

%3F is the result of urlencode('?)

In the dispacher:

$_GET['url'] = resources/search/a:0/q:art?culo

But in the line 419 in router.php

function parse($url) {
...
#418 if (strpos($url, '?') !== false) {
#419    $url = substr($url, 0, strpos($url, '?'));
#420 }
...
}

So after this line the url is: /resources/search/a=0/q:art

It continues parsing that url to extract named params:

$params['named']['q'] = art

¿How can I pass a question mark in a named param value?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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