Issue #3594 has been updated by naruse (Yui NARUSE).

Status changed from Rejected to Closed

I found the description in URL spec.
Therefore I fixed it at r60970.

----------------------------------------
Bug #3594: URI class doesn't do file URL's properly.
https://bugs.ruby-lang.org/issues/3594#change-68113

* Author: NeilW (Neil Wilson)
* Status: Closed
* Priority: Normal
* Assignee: akira (akira yamada)
* Target version: 
* ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
=begin
 URI doesn't seem to output file URLs properly where there is an absolute path part.
 
 For example.
 
 require 'uri'
 
 my_url = URI.parse("file:///var/lib/libvirt/images/")
 p my_url.to_s
 
 "file:/var/lib/libvirt/images/"
 
 The double slash '//' should always appear according to the file URL specification.
=end




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>