[walrus] Unexpected Malformed COPY request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Committed
|
Undecided
|
Neil Soman |
Bug Description
I'm trying to perform a 'copy' request and receive "HTTP/1.1 400 Bad Request[\r][\n]" which is logged on the server as:
com.eucalyptus.
at com.eucalyptus.
I believe this is a bug since the request I'm sending works with S3. Below are details about the request.
The offended code in WalrusRESTBinding calls WalrusUtils.
unable to split the path received in the x-amz-copy-source header into more than one string.
To do that it expects to find a '/' character in the x-amz-copy-source header value. The problem comes from the fact that this character is present but encoded as '%2F'.
PUT /services/
Date: Fri, 04 Mar 2011 21:00:24 GMT
Content-Type:
x-amz-copy-source: testbypart31836
x-amz-metadata-
Authorization: AWS xNMrV8s9..
Host: 10.1.0.2:8773
Content-Length: 0
Connection: Keep-Alive
User-Agent: Apache-Http..
Related branches
Changed in eucalyptus: | |
assignee: | nobody → Neil Soman (neilsoman) |
Thanks for your report! Should be fixed in revno 1258. Please reopen if it isn't. Thanks.