james-rms opened a new issue, #7148:
URL: https://github.com/apache/arrow-rs/issues/7148

   **Describe the bug**
   
   If a google storage bucket contains an object with name `[foo]`, the 
object_store crate cannot be used to read it. This is because all object paths 
are effectively percent-encoded *twice* before being formatted into a GCS URL. 
Any attempt to read `[foo]` will turn into an attempt to read `%5Bfoo%5D`, 
which may or may not exist in the store.
   
   **To Reproduce**
   
   1. Use another client (such as [the Python 
client](https://cloud.google.com/python/docs/reference/storage/latest)) to 
create an object named `[foo]` in a google storage bucket.
   2. Try to read it with `GoogleCloudStorageBuilder::new().bucket_name("your 
bucket name").build()?.get(&Path::from("[foo]"]))`.
   **Expected behavior**
   
   The object can be read.
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to