From: Eric Hodel Date: 2005-11-08T07:55:39+09:00 Subject: Re: Bug in URI.parse? On Nov 7, 2005, at 2:29 PM, wrote: > looking for the right place to post a bug, hope this is the right > mailing > list :-) > > irb(main):003:0> URI.parse " > http://london_airport_transfers.hotels-london.co.uk/transfer.php" > URI::InvalidURIError: the scheme http does not accept registry part: > london_airport_transfers.hotels-london.co.uk > (or bad > hostname?) > from /usr/local/lib/ruby/1.8/uri/generic.rb:194:in `initialize' > from /usr/local/lib/ruby/1.8/uri/http.rb:46:in `initialize' > from /usr/local/lib/ruby/1.8/uri/common.rb:484:in `parse' > from (irb):3 > > The address is valid, check yourself. I started looking at the > code, but > cannot figure it out. An _ is forbidden by RFC952. If you still don't believe me, go try to register a domain with an _. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04