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

Status changed from Assigned to Rejected

"http:/foo" is valid absolute-URI.

see http://tools.ietf.org/html/rfc3986

   absolute-URI  = scheme ":" hier-part [ "?" query ]

   scheme        = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

   hier-part     = "//" authority path-abempty
                 / path-absolute
                 / path-rootless
                 / path-empty

   path-absolute = "/" [ segment-nz *( "/" segment ) ]

   segment       = *pchar
   segment-nz    = 1*pchar

   pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
----------------------------------------
Bug #6386: URI.parse should raise an error for invalid uri 'http:/'
https://bugs.ruby-lang.org/issues/6386#change-41165

Author: zzak (Zachary Scott)
Status: Rejected
Priority: Normal
Assignee: akira (akira yamada)
Category: lib
Target version: current: 2.1.0
ruby -v: -
Backport: 


I've added a test to cover this, or you can use the following workaround[1].

1: http://pastie.org/3845341


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