ZF-8760: Cookie encoding

Issue Type: Bug Created: 2010-01-09T13:01:04.000+0000 Last Updated: 2012-03-09T20:17:06.000+0000 Status: Closed Fix version(s): Reporter: Carsten Bleek (cbleek) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Http_Client

Related issues: Attachments:


It might be a problem with "Zend_Http_Cookie", and I haven't checked the RFCs. But I had to modify Http/Client.php (1.9.6) as follows

1008,1011c1008,1009 < # $cookstr = $this->cookiejar->getMatchingCookies($this->uri, < # true, Zend_Http_CookieJar::COOKIE_STRING_CONCAT); < $cookstr = preg_replace("/%3A/",":",$this->cookiejar->getMatchingCookies($this->uri,

< true, Zend_Http_CookieJar::COOKIE_STRING_CONCAT));

$cookstr = $this->cookiejar->getMatchingCookies($this->uri, true, Zend_Http_CookieJar::COOKIE_STRING_CONCAT);

I got problems to fetch pages from I compared HTTP Requests with Firefox HttpLiveHeaders and could fetch Pages after the upper modifications. Firefox 3.5.6 does not seem to encode the ":" within the value of a cookie.

Maybe a bug?




Posted by Adam Lundrigan (adamlundrigan) on 2011-11-07T17:15:34.000+0000

Comment Removed. I read the diff provided backwards....oops.

Posted by Adam Lundrigan (adamlundrigan) on 2011-11-07T17:18:41.000+0000

Can you provide a specific example of a header which would cause this problem?

Posted by Adam Lundrigan (adamlundrigan) on 2012-03-09T20:17:06.000+0000

No response from OP. If you have a reproducible test case to share, please reopen the ticket.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.