Actions
Bug #4724
closedURI.extract parses HREFs in single quotes incorrectly
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
Backport:
Description
require 'uri'; URI.extract(%Q{'http://host.com/link'}, ['http'])
=> ["http://host.com/link'"]
Did not expect the trailing single quote. This is reproducible in Ruby 1.8.7
Updated by naruse (Yui NARUSE) about 14 years ago
- Status changed from Open to Rejected
URI arrows single quoete in its path or query, so it's spec.
See also RFC2396 (and RFC3986).
Actions
Like0
Like0