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

From: jeremy@...
Date: 2014-06-30 22:24:24 UTC
List: ruby-core #63452
Issue #2542 has been updated by Jeremy Kemper.


In RFC 3986, square brackets are no longer allowed in the query part.

Source of the unescaped brackets, in this case: https://github.com/brynary/rack-test/blob/master/lib/rack/test/utils.rb

This may become a common issue since plenty of code uses `URI.parse` and expects its more permissive RFC 2396 parsing.

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

* 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