Bug #1466: URI#parse fails on some working urls
http://redmine.ruby-lang.org/issues/show/1466

Author: Osama brekaa
Status: Open, Priority: High
Category: core
ruby -v: 1.8.7

i tried this snippet of code

require 'uri'
URI.parse('http://192.168.0.88:8080/mondrian/mdxquery?queryString=select%0D%0A++{[Measures].[Score]%2C+[Measures].[Happy+Count]}+on+columns%2C%0D%0A++NON+EMPTY+[Time].[Month].MEMBERS+on+rows%0D%0Afrom%0D%0A++[FeelingsSummary]%0D%0Awhere%0D%0A++([UserId].[222]%2C+[TimeSlicer].[2008])')

i don't know why it fails
although this url is a working one. i tried it on my browser and works fine
Also tried it on mechanize and worked

the exception was that one

from /usr/lib/ruby/1.8/uri/common.rb:436:in `split'
from /usr/lib/ruby/1.8/uri/common.rb:485:in `parse'
from (irb):7

i think this is a bug


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