You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Maciej Przewoźnik (JIRA)" <ji...@apache.org> on 2014/09/22 16:50:34 UTC
[jira] [Created] (JCLOUDS-726) RequestAuthorizeSignature does not
combine header fields with the same name into one
Maciej Przewoźnik created JCLOUDS-726:
-----------------------------------------
Summary: RequestAuthorizeSignature does not combine header fields with the same name into one
Key: JCLOUDS-726
URL: https://issues.apache.org/jira/browse/JCLOUDS-726
Project: jclouds
Issue Type: Bug
Components: jclouds-drivers
Affects Versions: 1.7.2
Reporter: Maciej Przewoźnik
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 :
{noformat}
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
{noformat}
The expected string to sign is:
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)