Issues

ZF-8057: Zend_Http_Client::setAuth should validate the URI when disabling authentication

Issue Type: Bug Created: 2009-10-12T16:46:42.000+0000 Last Updated: 2009-11-30T02:27:41.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Björn Graf (bjoern) Assignee: Marco Kaiser (bate) Tags: - Zend_Http_Client

Related issues: Attachments: - http-client.patch

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.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts