GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Regression in storage url signing · Issue #1346 · googleapis/google-cloud-java Closed Description@ostronom @mziccard It seems #1277 has caused a regression in my code. I use It seems that object naming requirements are not equivalent to URL encoding. When I round-trip a signed url, My understanding is that
It seems like this library needs to use a different escape function for object names. (Also, I noticed that the new test Does this make sense? What is the intended behavior for blob names containing slashes? repro test: BlobInfo blobInfo1 = BlobInfo.builder(bucketName, "foo/bar/baz #%20other cool stuff.txt").build(); storage.create(blobInfo1, "content".getBytes()); URL url = storage.signUrl( blobInfo1, 1, TimeUnit.HOURS, httpMethod(HttpMethod.PUT), httpMethod(HttpMethod.GET) ); final String[] split = url.getPath().split("/"); Blob notFound = storage.get(split[1], split[2]); // unexpectedly null! Blob found = storage.get(split[1], URLDecoder.decode(split[2])); // found, surprisingly Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |