[ruby-cvs:55394] naruse:r48244 (trunk): * lib/uri/rfc3986_parser.rb (URI::RFC3986_Parser::RFC3986_URI):

naruse at ruby-lang.org naruse at ruby-lang.org
Mon Nov 3 09:33:48 JST 2014


naruse	2014-11-03 09:33:47 +0900 (Mon, 03 Nov 2014)

  New Revision: 48244

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48244

  Log:
    * 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 ']'.

  Modified files:
    trunk/ChangeLog
    trunk/lib/uri/generic.rb
    trunk/lib/uri/rfc3986_parser.rb
    trunk/test/uri/test_generic.rb


More information about the ruby-cvs mailing list