<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/uri/test_generic.rb, branch v4.0.4</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] Clear user info totally at setting any of authority info</title>
<updated>2025-10-07T01:12:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-12T02:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d0395bd0ead968e194e268f8c5f9db59d8831c02'/>
<id>d0395bd0ead968e194e268f8c5f9db59d8831c02</id>
<content type='text'>
Fix CVE-2025-27221.
https://hackerone.com/reports/3221142

https://github.com/ruby/uri/commit/5cec76b9e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix CVE-2025-27221.
https://hackerone.com/reports/3221142

https://github.com/ruby/uri/commit/5cec76b9e8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Do not allow empty host names, as they are not allowed by RFC 3986</title>
<updated>2025-07-12T07:07:39+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2024-08-19T23:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=22b81b5bf56d7c5053008697d9e6b2a9c4eb79f4'/>
<id>22b81b5bf56d7c5053008697d9e6b2a9c4eb79f4</id>
<content type='text'>
Pointed out by John Hawthorn.

Fixes [Bug #20686]

https://github.com/ruby/uri/commit/c0cfa04a66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointed out by John Hawthorn.

Fixes [Bug #20686]

https://github.com/ruby/uri/commit/c0cfa04a66
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix the message for unexpected argument</title>
<updated>2025-07-12T03:05:25+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-12T03:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c47a92b63df5a45de076822975884a4a45d4b59f'/>
<id>c47a92b63df5a45de076822975884a4a45d4b59f</id>
<content type='text'>
Use just `self` instead of `self.class`, in `URI::Generic.build`.
Since this is a class method, `self.class` is always `Class` even in
inherited sub classes, and does not have `#component` method.

https://github.com/ruby/uri/commit/6f44d3d40e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use just `self` instead of `self.class`, in `URI::Generic.build`.
Since this is a class method, `self.class` is always `Class` even in
inherited sub classes, and does not have `#component` method.

https://github.com/ruby/uri/commit/6f44d3d40e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Prefer dedicated assertion methods</title>
<updated>2025-07-08T10:30:30+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-08T08:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f5acefca44951dcaec53324826e4078a3c3ce6f9'/>
<id>f5acefca44951dcaec53324826e4078a3c3ce6f9</id>
<content type='text'>
https://github.com/ruby/uri/commit/d79b3f5b94
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/d79b3f5b94
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix merger of URI with authority component</title>
<updated>2025-02-26T07:08:45+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-21T09:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b407b6b5b2dc8071c3b1b623e4399899e851f791'/>
<id>b407b6b5b2dc8071c3b1b623e4399899e851f791</id>
<content type='text'>
https://hackerone.com/reports/2957667

https://github.com/ruby/uri/commit/2789182478

Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://hackerone.com/reports/2957667

https://github.com/ruby/uri/commit/2789182478

Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Truncate userinfo with URI#join, URI#merge and URI#+</title>
<updated>2025-02-26T07:08:44+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-21T07:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=57dcb4bb9bc44368db3a2ef908f1babc79ea5224'/>
<id>57dcb4bb9bc44368db3a2ef908f1babc79ea5224</id>
<content type='text'>
https://github.com/ruby/uri/commit/3675494839
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/uri/commit/3675494839
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Make URI#to_s prepend relative path with / if there is a host or port</title>
<updated>2024-01-05T16:07:55+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2023-10-24T20:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=37657c79b66994147e41f31139ceb9c0c840868f'/>
<id>37657c79b66994147e41f31139ceb9c0c840868f</id>
<content type='text'>
Otherwise, the path could be considered part of the host or port.

This is better than modifying the path to make it absolute when
a host or port is set.  We could also raise for invalid paths
when a host or port is set using check_path, but that results
in weird errors, and won't catch issues (such as ftp allowing a
relative path).

Fixes [Bug #19916]

https://github.com/ruby/uri/commit/ac32aa005b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, the path could be considered part of the host or port.

This is better than modifying the path to make it absolute when
a host or port is set.  We could also raise for invalid paths
when a host or port is set using check_path, but that results
in weird errors, and won't catch issues (such as ftp allowing a
relative path).

Fixes [Bug #19916]

https://github.com/ruby/uri/commit/ac32aa005b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/uri] Fix host part in relative referece #83</title>
<updated>2023-06-25T15:24:05+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-06-25T14:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c21436cb353f8194db647bde2a5ef434eb3dcb2a'/>
<id>c21436cb353f8194db647bde2a5ef434eb3dcb2a</id>
<content type='text'>
In relative referece, host part can be ommitted but can not be empty.

https://github.com/ruby/uri/commit/2980f0ba02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In relative referece, host part can be ommitted but can not be empty.

https://github.com/ruby/uri/commit/2980f0ba02
</pre>
</div>
</content>
</entry>
<entry>
<title>URI.parse should set empty string in host instead of nil</title>
<updated>2022-10-13T02:04:06+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2019-01-12T23:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd5118f8524c425894d4716b787837ad7380bb0d'/>
<id>dd5118f8524c425894d4716b787837ad7380bb0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to latest uri</title>
<updated>2021-07-28T10:26:31+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2021-07-28T10:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=59a65f2d2402e0d34d9232236f152d62e74f9483'/>
<id>59a65f2d2402e0d34d9232236f152d62e74f9483</id>
<content type='text'>
* https://github.com/ruby/uri/commit/bc47bf71df2b2e9cea09d0b2684ceac7355e42a0
* To include the fix from https://github.com/ruby/uri/pull/27
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* https://github.com/ruby/uri/commit/bc47bf71df2b2e9cea09d0b2684ceac7355e42a0
* To include the fix from https://github.com/ruby/uri/pull/27
</pre>
</div>
</content>
</entry>
</feed>
