tustvold opened a new issue, #235:
URL: https://github.com/apache/arrow-rs-object-store/issues/235

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   The current validation performed by `PathPart::parse` and by extension 
`Path::parse` returns an error if the provided string does not round-trip. In 
particular it decodes the string, re-encodes it, and if the result does not 
equal the original string, it returns an error.
   
   This is safe, but can lead to surprises when interacting with other systems. 
In particular it will return an error for:
   
   * Percent-encoded sequences for characters `object_store` does not consider 
illegal apache/arrow-rs#2349 
   * Paths that contain a `%` but not as part of a percent encoded sequence
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   There is no reason not to permit these paths, especially in the former case 
where they are arguably more safe than the paths generated by `object_store`. 
To phrase it differently `Path::parse` should accept any "safe" path, even if 
it would not itself generate that path.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request 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