Just to point this out, but the Zend_Http_Cookie assumes that values are urlencoded. This means that when using this class with services that are 'good' about encoding you cannot roundtrip a cookie via ..._Cookie and _CookieJar.

It makes some sense to urlencode() cookies if they are being set via ->setCookie() in a client application, however if they're comming back via a client request and stuffed into a cookie jar the assumption of encoding is incorrect.

--koblas

Reply via email to