[ https://issues.apache.org/jira/browse/JCLOUDS-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828964#comment-17828964 ]
ASF subversion and git services commented on JCLOUDS-1630: ---------------------------------------------------------- Commit bc43572d657956e013b094dfa08618c61a795e3d in jclouds's branch refs/heads/master from Maxim [ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=bc43572d65 ] JCLOUDS-1630: Handle URI template properly with opened curve bracket (#199) Co-authored-by: Maksim_Hadalau <maksim_hada...@epam.com> > UriTemplates.expand() silently cut storage prefix (blob key) if { (open curve > bracket) ocured > --------------------------------------------------------------------------------------------- > > Key: JCLOUDS-1630 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1630 > Project: jclouds > Issue Type: Bug > Components: jclouds-blobstore, jclouds-core > Affects Versions: 2.5.0 > Reporter: Maksim Hadalau > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Steps to reproduce: > Try to create a blob with opened curve in a storage key > > {code:java} > // below test fails because actual result is: "/repos/folder with " > public void testIncorrectExpand() { > assertEquals(expand("/repos/folder with { brackets in a key", > ImmutableMap.of()), > "/repos/folder with { brackets in a key"); } > > {code} > Solution, if no variables provided - return template as is. > patch to 2.5.x if possible > PR https://github.com/apache/jclouds/pull/199 -- This message was sent by Atlassian Jira (v8.20.10#820010)