ZF-11899: Buckets With Capital Letters Not Supported

Issue Type: Bug Created: 2011-11-19T19:15:21.000+0000 Last Updated: 2012-05-11T00:42:21.000+0000 Status: Open Fix version(s): Reporter: Nick (nick5449) Assignee: Enrico Zimuel (zimuel) Tags: - Zend_Service_Amazon

  • amazon
  • s3
  • zf-crteam-review

Related issues: Attachments:


When attempting to pull a list of objects from a bucket with a capital letter the following error response is thrown:

"SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method."

Example code to reproduce:

$s3 = new Zend_Service_Amazon_S3($key, $secret_key); $buckets = $s3->getBuckets(); foreach ($buckets as $bucket) { $list = $s3->getObjectsByBucket($bucket); }

In this case, if the bucket name has a capital letter (ie 'Capital') then the list will return false. Amazon does support buckets with capital letters even though the Zend Framework documentation says it does not.


Posted by Adam Lundrigan (adamlundrigan) on 2012-02-23T23:39:08.000+0000

@[~zimuel] Could you take a look at this?

Posted by Nick (nick5449) on 2012-03-14T03:22:30.000+0000

Has any progress been made on this bug? It's a pretty serious bug and is still affecting our application. Thanks!

Posted by Duccio Gasparri (dgasparri) on 2012-05-11T00:41:48.000+0000

I posted a partial solution to

A couple of issues:

  1. upper case buckets are allowed only in US-General. All the other locations do not support them 2) Amazon discourages the use of upper case buckets 3) Amazon's own SDK does not support upper case buckets

To support full US General bucket, SOAP api calls are required. Wonder if it's worth it.

Posted by Duccio Gasparri (dgasparri) on 2012-05-11T00:42:21.000+0000

For reference:…

Have you found an issue?

See the Overview section for more details.


© 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.