Timur Sungur created JCLOUDS-121:
------------------------------------

             Summary: Missing trailing slash in blob names
                 Key: JCLOUDS-121
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-121
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
    Affects Versions: 1.6.0
            Reporter: Timur Sungur
            Priority: Minor


The trailing slash in bucket names are removed during put method into AWS 
blobstore. 

Whenever the bucket name is retrieved from AWS using blobStore.list() method, 
the bucket name does not contain the final slash; moreover, the blob cannot be 
retrieved without adding it. 

Example: 

The item name but into blob store:

http%2525253A%2525252F%2525252Fwww.example.org%2525252Fwinery%2525252FTEST%2525252Fjclouds1/test2/

The retrieved name using blobStore.list(): 

http%3A%2F%2Fwww.example.org%2Fwinery%2FTEST%2Fjclouds1/test2

(Length is different due to 3 times implicit encoding see: 
https://issues.apache.org/jira/browse/JCLOUDS-94)

One needs to encode 3 times and add the trailing slash to retrieve 
corresponding blob.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to