If a file has a space in the name walrus replaces it with a plus sign

Bug #988973 reported by kamran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
Unassigned

Bug Description

Wlarus version 2.0.3 installed on CentOS 5.6

If we upload a file to walrus that has a space in its name the space is replaced with a + sign.

If we upload the file Adobe AIR.png

with this request

PUT /services/Walrus/smestoragegelembjuk2323/Adobe%20AIR%2Epng HTTP/1.1
Host: 176.58.97.142
x-amz-acl: private
Connection: keep-alive
Content-Type: image/png
Content-Length: 7614
Date: Thu, 26 Apr 2012 14:46:55 GMT
Authorization: AWS WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw:Mjfhomg4LxeeFBCtn/e/2t0K2ms=

[FILE BODY]

The response is
HTTP/1.1 200 OK
Content-Length: 295
Content-Type: application/xml
ETag: "0d170af9d5d4f77609a70bded9c6bfa1"
Last-Modified: 2012-04-26T14:46:57.000Z

<PutObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><PutObjectResponse><ETag>0d170af9d5d4f77609a70bded9c6bfa1</ETag><LastModified>2012-04-26T14:46:57.000Z</LastModified><Size>7614</Size></PutObjectResponse></PutObjectResponse>

It all looks correct.
But when we load the contents of the folder with this file then the file contains +

<ListBucketResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ListBucketResponse><Name>smestoragegelembjuk2323</Name><Prefix/><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated><Contents><Key>Adobe+AIR.png</Key><LastModified>2012-04-26T14:46:57.000Z</LastModified><ETag>0d170af9d5d4f77609a70bded9c6bfa1</ETag><Size>7614</Size><Owner><ID>WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw</ID><DisplayName>admin</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResponse></ListBucketResponse>

<Key>Adobe+AIR.png</Key>
We also validated with Cyberduck which exhibits the same behaviour

Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/EUCA-2793

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.