[ruby-core:63450] [ruby-trunk - Feature #2542] URI lib should be updated to RFC 3986

From: tenderlove@...
Date: 2014-06-30 21:55:41 UTC
List: ruby-core #63450
Issue #2542 has been updated by Aaron Patterson.


r46491 broke this script:

~~~
require 'uri'

thing = URI.parse 'http://example.com'
thing.query = 'location[]=1&location[]=2&age_group[]=2'
~~~

Before r46491 it would set the query, after r46491, it raises an exception.

Is this a bug in the new implementation? Or should I be doing something different? (I pulled this from the Rails tests, so I'm not 100% sure what it is actually for)

----------------------------------------
Feature #2542: URI lib should be updated to RFC 3986
https://bugs.ruby-lang.org/issues/2542#change-47492

* Author: Marc-Andre Lafortune
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* Category: lib
* Target version: next minor
----------------------------------------
=begin
 RFC 2396 has been obsolete for nearly 5 years now.
 
 It was replaced by RFC 3986 which aims at clarifying aspects that were not previously clear.
=end




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

In This Thread

Prev Next