ZF-8057: Zend_Http_Client::setAuth should validate the URI when disabling authentication
Description
Disabling authentication by Zend_Http_Client::setAuth(false) before setting a URI results in a fatal error being raised due to the unchecked use of Zend_Http_Client::getUri() in lines 545 and 546.
Comments
Posted by Björn Graf (bjoern) on 2009-10-12T16:48:17.000+0000
Possible fix to ensure a valid Zend_Uri_Http in Zend_Http_Client::setAuth() before clearing authentication values.