I don't know if this has been addressed yet, but this is a problem...

In "router.php" the method "queryString" uses http_build_query($q).
There are 2 problems...

1) http_build_query is a PHP5-only function

2) the delimiter is not passed in the router function, so it defaults
to arg_separator.output = "&"

So when you are writing a datasource that uses http_socket, it will
use & to separate the Http->post($url, $data_array);  This causes
problems for some websites.

Possible Solutions:

- Modify Router::queryString and have it pass a default delimiter

- Modify http_socket->httpSerialize($data) function to call
http_build_query() directly with a delimiter

http://www.php.net/http_build_query
http://www.php.net/manual/en/ini.core.php#ini.arg-separator.output

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