You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Timur Alperovich (JIRA)" <ji...@apache.org> on 2015/09/09 01:17:45 UTC

[jira] [Commented] (JCLOUDS-94) Keeping % signs in bucket names

    [ https://issues.apache.org/jira/browse/JCLOUDS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735809#comment-14735809 ] 

Timur Alperovich commented on JCLOUDS-94:
-----------------------------------------

AWS S3, Azure Blobs, and GCS all prohibit the _%_ character in the bucket names. If the issue actually is creating a bucket with a _%_ character in the name, then this behavior is expected. If the issue is that jclouds does not allow one to create blobs with _%_ characters, then this is a duplicate of JCLOUDS-217.

> Keeping % signs in bucket names
> -------------------------------
>
>                 Key: JCLOUDS-94
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-94
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.0
>            Reporter: Oliver Kopp
>            Assignee: Timur Alperovich
>            Priority: Minor
>
> I'm trying to create a bucket having % signs in the name. Before sending the bucket name to AWS, the name is decoded three (3) times. I expect the bucket name not to be decoded at all.
> Example:
> http%253A%252F%252Fwww.example.org
> %252Fwinery%252Ftest%252Fjclouds/test/test.properties
> gets
> http: / / www.example.org / winery / test / jclouds / test / test.properties
> It might have something to do with
> unescapeSpecialChars(uri.getPath())
> in line 284 of org.jclouds.http.URI
> It is called multiple times before a URI is really used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)