From: Yui NARUSE Date: 2011-05-18T09:25:06+09:00 Subject: [ruby-core:36296] [Ruby 1.9 - Bug #4724][Rejected] URI.extract parses HREFs in single quotes incorrectly Issue #4724 has been updated by Yui NARUSE. Status changed from Open to Rejected URI arrows single quoete in its path or query, so it's spec. See also RFC2396 (and RFC3986). ---------------------------------------- Bug #4724: URI.extract parses HREFs in single quotes incorrectly http://redmine.ruby-lang.org/issues/4724 Author: matt vermaak Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0] >> 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 -- http://redmine.ruby-lang.org