ZF-7104: Zend_Service_Amazon_S3 should reset Zend_Http_Client::auth
Description
If you use a Zend_Service class which uses the Basic auth capabilities of the Zend_Http_Client prior to using Zend_Service_Amazon_S3, then you can end up two conflicting Authorization headers in the request to S3. In order to fix this, the S3 class could run $client->setAuth(FALSE) just after $client->resetParameters(). Alternatively, Zend_Http_Client::resetParameters could reset $this->auth to null.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-06-23T12:30:04.000+0000
Assigning to Stas.
Posted by Stanislav Malyshev (stas) on 2009-06-23T16:16:01.000+0000
fixed, thanks