From: "mame (Yusuke Endoh)" Date: 2012-12-10T00:49:58+09:00 Subject: [ruby-core:50719] [ruby-trunk - Bug #3594] URI class doesn't do file URL's properly. Issue #3594 has been updated by mame (Yusuke Endoh). Description updated Is this specified in RFC or any spec? -- Yusuke Endoh ---------------------------------------- Bug #3594: URI class doesn't do file URL's properly. https://bugs.ruby-lang.org/issues/3594#change-34566 Author: NeilW (Neil Wilson) Status: Assigned Priority: Normal Assignee: akira (akira yamada) Category: Target version: ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] =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 -- http://bugs.ruby-lang.org/