ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:65800] [ruby-trunk - Bug #10402] [Open] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
@ 2014-10-19 19:01 ` katehuang0320
  2014-10-20  0:37 ` [ruby-core:65802] [ruby-trunk - Bug #10402] " nobu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: katehuang0320 @ 2014-10-19 19:01 UTC (permalink / raw
  To: ruby-core

Issue #10402 has been reported by Juanito Fatas.

----------------------------------------
Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
https://bugs.ruby-lang.org/issues/10402

* 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 `<main>'

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:65802] [ruby-trunk - Bug #10402] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
  2014-10-19 19:01 ` [ruby-core:65800] [ruby-trunk - Bug #10402] [Open] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError) katehuang0320
@ 2014-10-20  0:37 ` nobu
  2014-10-20  0:38 ` [ruby-core:65804] " nobu
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: nobu @ 2014-10-20  0:37 UTC (permalink / raw
  To: ruby-core

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 `<main>'

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:65804] [ruby-trunk - Bug #10402] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
  2014-10-19 19:01 ` [ruby-core:65800] [ruby-trunk - Bug #10402] [Open] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError) katehuang0320
  2014-10-20  0:37 ` [ruby-core:65802] [ruby-trunk - Bug #10402] " nobu
@ 2014-10-20  0:38 ` nobu
  2014-10-20  0:39 ` [ruby-core:65807] [ruby-trunk - Bug #10402] [Assigned] " nobu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: nobu @ 2014-10-20  0:38 UTC (permalink / raw
  To: ruby-core

Issue #10402 has been updated by Nobuyoshi Nakada.

Description updated

c.f. https://bugs.ruby-lang.org/issues/2542#note-20

----------------------------------------
Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
https://bugs.ruby-lang.org/issues/10402#change-49544

* 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 `<main>'
~~~

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:65807] [ruby-trunk - Bug #10402] [Assigned] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2014-10-20  0:38 ` [ruby-core:65804] " nobu
@ 2014-10-20  0:39 ` nobu
  2014-11-03  0:33 ` [ruby-core:66058] [ruby-trunk - Bug #10402] [Closed] " naruse
  2015-06-17 22:27 ` [ruby-core:69639] [Ruby trunk - Bug #10402] " jim.posen
  5 siblings, 0 replies; 6+ messages in thread
From: nobu @ 2014-10-20  0:39 UTC (permalink / raw
  To: ruby-core

Issue #10402 has been updated by Nobuyoshi Nakada.

Status changed from Open to Assigned
Assignee set to Yui NARUSE

----------------------------------------
Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
https://bugs.ruby-lang.org/issues/10402#change-49547

* Author: Juanito Fatas
* Status: Assigned
* Priority: Normal
* Assignee: Yui NARUSE
* 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 `<main>'
~~~

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:66058] [ruby-trunk - Bug #10402] [Closed] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2014-10-20  0:39 ` [ruby-core:65807] [ruby-trunk - Bug #10402] [Assigned] " nobu
@ 2014-11-03  0:33 ` naruse
  2015-06-17 22:27 ` [ruby-core:69639] [Ruby trunk - Bug #10402] " jim.posen
  5 siblings, 0 replies; 6+ messages in thread
From: naruse @ 2014-11-03  0:33 UTC (permalink / raw
  To: ruby-core

Issue #10402 has been updated by Yui NARUSE.

Status changed from Assigned to Closed
% Done changed from 0 to 100

Applied in changeset r48244.

----------
* lib/uri/rfc3986_parser.rb (URI::RFC3986_Parser::RFC3986_URI):
  allow '[' and ']' for URI input (and escape). [Bug #10402]

* lib/uri/generic.rb (URI#query=): escape '[', '\', and ']'.

----------------------------------------
Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
https://bugs.ruby-lang.org/issues/10402#change-49779

* Author: Juanito Fatas
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* 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 `<main>'
~~~

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ruby-core:69639] [Ruby trunk - Bug #10402] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
       [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2014-11-03  0:33 ` [ruby-core:66058] [ruby-trunk - Bug #10402] [Closed] " naruse
@ 2015-06-17 22:27 ` jim.posen
  5 siblings, 0 replies; 6+ messages in thread
From: jim.posen @ 2015-06-17 22:27 UTC (permalink / raw
  To: ruby-core

Issue #10402 has been updated by Jim Posen.


The patch caused this bug https://bugs.ruby-lang.org/issues/11275.

----------------------------------------
Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
https://bugs.ruby-lang.org/issues/10402#change-52992

* Author: Juanito Fatas
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* 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 `<main>'
~~~

Found in [tarcieri/http gem's test](https://travis-ci.org/tarcieri/http/jobs/36837944).



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-17 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-10402.20141019190127@ruby-lang.org>
2014-10-19 19:01 ` [ruby-core:65800] [ruby-trunk - Bug #10402] [Open] URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError) katehuang0320
2014-10-20  0:37 ` [ruby-core:65802] [ruby-trunk - Bug #10402] " nobu
2014-10-20  0:38 ` [ruby-core:65804] " nobu
2014-10-20  0:39 ` [ruby-core:65807] [ruby-trunk - Bug #10402] [Assigned] " nobu
2014-11-03  0:33 ` [ruby-core:66058] [ruby-trunk - Bug #10402] [Closed] " naruse
2015-06-17 22:27 ` [ruby-core:69639] [Ruby trunk - Bug #10402] " jim.posen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).