Project

General

Profile

ActionsLike0

Bug #3594

closed

URI class doesn't do file URL's properly.

Added by NeilW (Neil Wilson) over 14 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
[ruby-core:31397]

Description

=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

#1

Updated by akr (Akira Tanaka) almost 14 years ago

  • Project changed from 8 to Ruby
  • Assignee set to akira (akira yamada)
#2

Updated by shyouhei (Shyouhei Urabe) about 13 years ago

  • Status changed from Open to Assigned

Updated by mame (Yusuke Endoh) over 12 years ago

  • Description updated (diff)

Updated by mame (Yusuke Endoh) over 7 years ago

  • Status changed from Assigned to Rejected

Updated by naruse (Yui NARUSE) over 7 years ago

  • Status changed from Rejected to Closed
ActionsLike0

Also available in: Atom PDF