Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7.2
-
None
Description
http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html states that while constructing the CanonicalizedAmzHeaders element, header fields with the same name must be combined into one.
However,
the following string to sign was computed by jclouds for "Example Upload" request from http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html :
PUT 4gJE4saaMU4BqNR0kLY+lw== application/x-download Tue, 27 Mar 2007 21:06:08 +0000 x-amz-acl:public-read x-amz-meta-checksumalgorithm:crc32 x-amz-meta-filechecksum:0x02661779 x-amz-meta-reviewedby:jane@johnsmith.net x-amz-meta-reviewedby:joe@johnsmith.net /static.johnsmith.net/db-backup.dat.gz
The expected string to sign is:
PUT 4gJE4saaMU4BqNR0kLY+lw== application/x-download Tue, 27 Mar 2007 21:06:08 +0000 x-amz-acl:public-read x-amz-meta-checksumalgorithm:crc32 x-amz-meta-filechecksum:0x02661779 x-amz-meta-reviewedby:joe@johnsmith.net,jane@johnsmith.net /static.johnsmith.net/db-backup.dat.gz