ruby / uri

URI is a module providing classes to handle Uniform Resource Identifiers
https://ruby.github.io/uri/
Other
79 stars 42 forks source link

Document requirement that path be escaped #32

Closed frankus closed 2 years ago

frankus commented 2 years ago

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).