From: nobu@... Date: 2014-10-20T00:37:04+00:00 Subject: [ruby-core:65802] [ruby-trunk - Bug #10402] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError) Issue #10402 has been updated by Nobuyoshi Nakada. Related to Feature #2542: URI lib should be updated to RFC 3986 added ---------------------------------------- Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError) https://bugs.ruby-lang.org/issues/10402#change-49542 * Author: Juanito Fatas * Status: Open * Priority: Normal * Assignee: * Category: lib * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-darwin13] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- $ ruby -v -ruri -e "URI 'http://example.com/?a[]=b&a[]=c'" ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0] $ ruby -v -ruri -e "URI 'http://example.com/?a[]=b&a[]=c'" ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-darwin13] /Users/Juan/.rubies/ruby-2.2.0-preview1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:47:in `split': bad URI(is not URI?): http://example.com/?a[]=b&a[]=c (URI::InvalidURIError) from /Users/Juan/.rubies/ruby-2.2.0-preview1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:53:in `parse' from /Users/Juan/.rubies/ruby-2.2.0-preview1/lib/ruby/2.2.0/uri/common.rb:226:in `parse' from /Users/Juan/.rubies/ruby-2.2.0-preview1/lib/ruby/2.2.0/uri/common.rb:713:in `URI' from -e:1:in `
' Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944). -- https://bugs.ruby-lang.org/