Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1299

cannot list swift container with object name containing %

    XMLWordPrintableJSON

Details

    Description

      Probably should add a generic test for this as well:

      Exception in thread "main" java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern
              at java.net.URLDecoder.decode(URLDecoder.java:187)
              at org.jclouds.util.Strings2.urlDecode(Strings2.java:131)
              at org.jclouds.http.Uris$UriBuilder.path(Uris.java:143)
              at org.jclouds.http.Uris$UriBuilder.appendPath(Uris.java:151)
              at org.jclouds.openstack.swift.v1.functions.ParseObjectListFromResponse$ToSwiftObject.apply(ParseObjectListFromResponse.java:100)
              at org.jclouds.openstack.swift.v1.functions.ParseObjectListFromResponse$ToSwiftObject.apply(ParseObjectListFromResponse.java:78)
              at com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:582)
              at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
              at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
              at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
              at com.google.common.collect.Iterables.addAll(Iterables.java:348)
              at org.jclouds.blobstore.domain.internal.PageSetImpl.<init>(PageSetImpl.java:31)
              at org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore.list(RegionScopedSwiftBlobStore.java:255)
              at org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList.getListing(DeleteAllKeysInList.java:146)
              at org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList.executeOneIteration(DeleteAllKeysInList.java:337)
              at org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList.execute(DeleteAllKeysInList.java:416)
              at org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore.clearContainer(RegionScopedSwiftBlobStore.java:578)
              at org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore.deleteContainer(RegionScopedSwiftBlobStore.java:583)
      

      Attachments

        Activity

          People

            gaul Andrew Gaul
            gaul Andrew Gaul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: