News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lukas Smith's Blog:
One thumb up and two down (Zend_Http_Client)
June 16, 2008 @ 09:32:24

Coming back from some previous comments about the Zend_Http_Client in the Zend Framework, Lukas Smith admits that a certain feature has come in handy with their development, but another bug has come up that has gotten under his skin - a problem with the component's cookie handling.

We ran into a really hard to find bug in the cookie handling of Zend_Http_Client, which has been filed as a bug back in August 2007 against version 1.0.1 (today we are at 1.5.2). More over this is a bug that other similar packages have gotten over in 2004.

He had to use wireshark to finally track down the culprit - a call to urlencode on the contents of the cookie before sending it. He also includes some code to overcome a problem he had with UTF-16 in one of his feeds (a custom function that takes in and returns a string translated correctly).

0 comments voice your opinion now!
zendframework zendhttpclient cookie handling urlencode utf16 encode


blog comments powered by Disqus

Similar Posts

Pádraic Brady's Blog: Having a bad ViewRenderer day in your ZF app?

Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 8: Create/Add Blog Entries (HTMLPurifier)

Gary Hokin: An Introduction to Zend Framework 2 for the Zend Framework 1 Developer - Part 1

Padraic Brady's Blog: Interfacing The PHP World Would Be Good

PHPBuilder.com: Use Zend Framework Action Helpers to Reduce PHP Code Redundancy


Community Events





Don't see your event here?
Let us know!


opinion language introduction package symfony series api release deployment zendserver podcast tips laravel framework update community library list install interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework