From: Neil Wilson Date: 2010-07-21T18:06:02+09:00 Subject: [ruby-core:31397] [Bug #3594] URI class doesn't do file URL's properly. Bug #3594: URI class doesn't do file URL's properly. http://redmine.ruby-lang.org/issues/show/3594 Author: Neil Wilson Status: Open, Priority: Normal ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] 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. ---------------------------------------- http://redmine.ruby-lang.org