Actions
Bug #8581
closedURI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI?
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
Backport:
Description
I get this (hr) as a HTTP_REFERER and URI.parse throws:
(URI::InvalidURIError) "bad URI(is not URI?):
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
Like0
Like0Like0Like0