<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/uri/test_parser.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/uri] Fix quadratic backtracking on invalid port number</title>
<updated>2023-06-29T01:07:52+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-04-22T11:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=995ce947bed7e92bcda185f164d43089e6a1cf5e'/>
<id>995ce947bed7e92bcda185f164d43089e6a1cf5e</id>
<content type='text'>
https://hackerone.com/reports/1958260

https://github.com/ruby/uri/commit/9d7bcef1e6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://hackerone.com/reports/1958260

https://github.com/ruby/uri/commit/9d7bcef1e6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix quadratic backtracking on invalid relative URI</title>
<updated>2023-06-29T01:07:51+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-04-22T11:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1eff362492f4a0ca8d6d036c958afa7961e827f0'/>
<id>1eff362492f4a0ca8d6d036c958afa7961e827f0</id>
<content type='text'>
https://hackerone.com/reports/1958260

https://github.com/ruby/uri/commit/9010ee2536
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://hackerone.com/reports/1958260

https://github.com/ruby/uri/commit/9010ee2536
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix RFC3986 regexps</title>
<updated>2023-06-13T05:57:17+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-06-13T04:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6d734a89751d5553f22dbb674247f25c825e9274'/>
<id>6d734a89751d5553f22dbb674247f25c825e9274</id>
<content type='text'>
https://github.com/ruby/uri/commit/8e38592241
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/8e38592241
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix splitting relative URI</title>
<updated>2022-10-13T07:24:53+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-13T07:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4b1504ae0a5118153f8b47d7bd0fff7e61553d17'/>
<id>4b1504ae0a5118153f8b47d7bd0fff7e61553d17</id>
<content type='text'>
https://github.com/ruby/uri/commit/ffbab83de6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/ffbab83de6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Add URI::Generic#decoded_#{user,password}</title>
<updated>2022-05-12T05:54:37+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-04T22:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fbebfe1697938a684f460cd28af36cf1f056513c'/>
<id>fbebfe1697938a684f460cd28af36cf1f056513c</id>
<content type='text'>
URI::Generic#{user,password} return the encoded values, which are
not that useful if you want to do authentication with them.
Automatic decoding by default would break backwards compatibility.
Optional automatic decoding via a keyword to URI.parse would
require threading the option through at least 3 other methods, and
would make semantics confusing (user= takes encoded or unencoded
password?) or require more work.  Thus, adding this as a separate
method seemed the simplest approach.

Unfortunately, URI lacks a method for correct decoding.  Unlike in
www form components, + in earlier parts of the URI such as the
userinfo section is treated verbatim and not as an encoded space.
Add URI.#{en,de}code_uri_component methods, which are almost the
same as URI.#{en,de}code_www_form_component, but without the
special SP =&gt; + handling.

Implements [Feature #9045]

https://github.com/ruby/uri/commit/16cfc4e92f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
URI::Generic#{user,password} return the encoded values, which are
not that useful if you want to do authentication with them.
Automatic decoding by default would break backwards compatibility.
Optional automatic decoding via a keyword to URI.parse would
require threading the option through at least 3 other methods, and
would make semantics confusing (user= takes encoded or unencoded
password?) or require more work.  Thus, adding this as a separate
method seemed the simplest approach.

Unfortunately, URI lacks a method for correct decoding.  Unlike in
www form components, + in earlier parts of the URI such as the
userinfo section is treated verbatim and not as an encoded space.
Add URI.#{en,de}code_uri_component methods, which are almost the
same as URI.#{en,de}code_www_form_component, but without the
special SP =&gt; + handling.

Implements [Feature #9045]

https://github.com/ruby/uri/commit/16cfc4e92f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Add tests for URI::RFC{2396,3986}_Parser#inspect</title>
<updated>2021-04-22T05:54:37+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-04T23:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3e27ca60470cbd73dd82ca6b8007a3b8362d576e'/>
<id>3e27ca60470cbd73dd82ca6b8007a3b8362d576e</id>
<content type='text'>
https://github.com/ruby/uri/commit/d47dae2f8e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/d47dae2f8e
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for invalid hex escapes in URI#query=</title>
<updated>2019-10-08T14:30:55+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-07-05T21:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7909f06212ae8df6ba7203f8152292a190b2b33a'/>
<id>7909f06212ae8df6ba7203f8152292a190b2b33a</id>
<content type='text'>
Fixes [Bug #11275]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #11275]
</pre>
</div>
</content>
</entry>
<entry>
<title>set UTF-8 if given URI string is ASCII</title>
<updated>2018-03-22T11:20:03+00:00</updated>
<author>
<name>naruse</name>
<email>naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-03-22T11:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=234a30459cdae6aa7da6e28a1082d9c11f315696'/>
<id>234a30459cdae6aa7da6e28a1082d9c11f315696</id>
<content type='text'>
Now URI is normally UTF-8, and US-ASCII URI string is considered as
escaped a UTF-8 string.
https://github.com/rails/rails/issues/32294

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now URI is normally UTF-8, and US-ASCII URI string is considered as
escaped a UTF-8 string.
https://github.com/rails/rails/issues/32294

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>fix error if the input is mixed Unicode and percent-escapes</title>
<updated>2018-03-08T09:38:01+00:00</updated>
<author>
<name>naruse</name>
<email>naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-03-08T09:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6db869c1019948a878b2735ca205888af2e07ecb'/>
<id>6db869c1019948a878b2735ca205888af2e07ecb</id>
<content type='text'>
Reported by kivikakk (Ashe Connor) with tests and doc fix
Patch based on mame and fix by naruse
[Bug #14586]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by kivikakk (Ashe Connor) with tests and doc fix
Patch based on mame and fix by naruse
[Bug #14586]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add frozen_string_literal: false for all files</title>
<updated>2015-12-16T05:07:31+00:00</updated>
<author>
<name>naruse</name>
<email>naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2015-12-16T05:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3e92b635fb5422207b7bbdc924e292e51e21f040'/>
<id>3e92b635fb5422207b7bbdc924e292e51e21f040</id>
<content type='text'>
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
