Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.11.11
-
Fix Version/s: None
-
Component/s: Zend_Service_Amazon
-
Labels:
Description
When attempting to pull a list of objects from a bucket with a capital letter the following error response is thrown:
"<Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>"
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.
@
Enrico Zimuel Could you take a look at this?