Issues

ZF-7104: Zend_Service_Amazon_S3 should reset Zend_Http_Client::auth

Issue Type: Bug Created: 2009-06-23T12:01:40.000+0000 Last Updated: 2009-07-31T20:41:14.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Lee Parker (wlp1979) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Http_Client

  • Zend_Service_Amazon

Related issues: Attachments:

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

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