Project

General

Profile

Actions

Bug #1466

closed

URI#parse fails on some working urls

Added by BioNuc (Osama brekaa) over 15 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
1.8.7
[ruby-core:23443]

Description

=begin
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
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0