diff options
Diffstat (limited to 'lib/uri/file.rb')
| -rw-r--r-- | lib/uri/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/file.rb b/lib/uri/file.rb index 940d361af8..47b5aef067 100644 --- a/lib/uri/file.rb +++ b/lib/uri/file.rb @@ -47,7 +47,7 @@ module URI # :path => '/ruby/src'}) # uri2.to_s # => "file://host.example.com/ruby/src" # - # uri3 = URI::File.build({:path => URI::escape('/path/my file.txt')}) + # uri3 = URI::File.build({:path => URI::RFC2396_PARSER.escape('/path/my file.txt')}) # uri3.to_s # => "file:///path/my%20file.txt" # def self.build(args) |
