Skip to content

Cloud Storage: Unable to get blobs with space in their name after upgrading to 1.103.0 #53

@zeev-lilt

Description

@zeev-lilt
  1. API: Cloud storage
  2. OS type and version: OSX
  3. Java version: 1.8.0_161
  4. storage version(s): 1.103.0

Steps to reproduce

  1. Upload a blob that contains a space in its name.
  2. Try to get it.

Code example

Storage gcs = StorageOptions.getDefaultInstance().getService();
gcs.get("my_bucket", "my blob")
// returns null

Any additional information below

This works in version 1.102.0 but returns null in 1.103.0.
I've tried replacing the space with %20 or +, but that didn't work either.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: storageIssues related to the googleapis/java-storage API.duplicateThis issue or pull request already existstriage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions