<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/uri/generic.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>Merge URI-0.13.3</title>
<updated>2025-10-09T14:08:48+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-10-07T09:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fe7f490ff654db9fac004ff030204d9d69fbe98'/>
<id>3fe7f490ff654db9fac004ff030204d9d69fbe98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge uri-0.13.2</title>
<updated>2025-03-08T07:27:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-26T09:14:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e58827163002e816e49ed18007f4fa3481102b08'/>
<id>e58827163002e816e49ed18007f4fa3481102b08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add #to_str to URI::Generic</title>
<updated>2023-10-26T01:12:49+00:00</updated>
<author>
<name>Michael Chui</name>
<email>saraid@users.noreply.github.com</email>
</author>
<published>2018-10-18T22:42:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0164ce893f0a683a8555072ac594401a33990d40'/>
<id>0164ce893f0a683a8555072ac594401a33990d40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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] Optimize URI#hostname and URI#hostname=</title>
<updated>2021-04-22T05:54:28+00:00</updated>
<author>
<name>Lukas Zapletal</name>
<email>lzap+git@redhat.com</email>
</author>
<published>2020-10-07T11:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c46a4b8c7f434110c30c9587e02387283076579f'/>
<id>c46a4b8c7f434110c30c9587e02387283076579f</id>
<content type='text'>
https://github.com/ruby/uri/commit/3b7ccfd835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/3b7ccfd835
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Upstream Java proxy property checks from JRuby</title>
<updated>2021-04-22T05:54:19+00:00</updated>
<author>
<name>Charles Oliver Nutter</name>
<email>headius@headius.com</email>
</author>
<published>2021-03-04T22:44:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e06c980dace26ff2f06eb4ac1e2d06291101ee7'/>
<id>6e06c980dace26ff2f06eb4ac1e2d06291101ee7</id>
<content type='text'>
These Java properties, retrieved from JRuby's "Java env" ENV_JAVA,
allow JRuby users to use the same proxy properties the rest of the
Java platform uses.

This resolves https://bugs.ruby-lang.org/issues/11194

https://github.com/ruby/uri/commit/3bd2bcc95a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These Java properties, retrieved from JRuby's "Java env" ENV_JAVA,
allow JRuby users to use the same proxy properties the rest of the
Java platform uses.

This resolves https://bugs.ruby-lang.org/issues/11194

https://github.com/ruby/uri/commit/3bd2bcc95a
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate `send` into `public_send` and `__send__`</title>
<updated>2020-10-27T07:12:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-27T04:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3198e7abd70bd2af977f2bb6c967e9df8f91adb0'/>
<id>3198e7abd70bd2af977f2bb6c967e9df8f91adb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Remove RCS keywords</title>
<updated>2020-03-26T09:06:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2020-03-13T09:54:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e8d75e8819972377dc1457fc0d0e489bb9c533b'/>
<id>9e8d75e8819972377dc1457fc0d0e489bb9c533b</id>
<content type='text'>
https://github.com/ruby/uri/commit/1bcb1203ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/1bcb1203ad
</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>lib/*: Prefer require_relative over require.</title>
<updated>2018-11-02T17:52:33+00:00</updated>
<author>
<name>marcandre</name>
<email>marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-11-02T17:52:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e859e668d2eb59f34ad18edb7458ce90076617e9'/>
<id>e859e668d2eb59f34ad18edb7458ce90076617e9</id>
<content type='text'>
[#15206] [Fix GH-1976]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[#15206] [Fix GH-1976]

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