Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document requirement that path be escaped #32

Merged
merged 1 commit into from
May 12, 2022
Merged

Conversation

frankus
Copy link
Contributor

@frankus frankus commented Feb 15, 2022

The module here is called URI, so it's probably reasonable to expect a requirement for the path to be RFC3986-compliant.

On the other hand, the class is called File, so it might be reasonable to expect that a path produced by e.g. Ruby's built-in File class would be consumable by this build method (it fails if the filename contains e.g. a space).

The module here is called `URI`, so it's probably reasonable to expect a requirement for the path to be RFC3986-compliant, but on the other hand, the class is called `File`, so it might be reasonable to expect that a path produced by e.g. the `File` class would be consumable by its `build` method (this fails if the filename contains e.g. a space).
@nurse nurse merged commit 92352e6 into ruby:master May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants