Project

General

Profile

Actions

Bug #8581

closed

URI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI?

Added by pctj101 (Jeff Chan) almost 11 years ago. Updated over 10 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
[ruby-core:55706]

Updated by hamiltop (Peter Hamilton) almost 11 years ago

According to http://tools.ietf.org/html/rfc3986 '^' is not a valid character in a query string.

According to the document, '^' is not neither listed as a reserved or unreserved character. It should therefore be percent encoded.

The string you provide is therefore not a valid URI and as such URI.parse is correct in throwing a URI::InvalidURIError.

Updated by steveklabnik (Steve Klabnik) over 10 years ago

That is correct.

I believe this should be closed.

Updated by Anonymous over 10 years ago

  • Status changed from Open to Rejected
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0