<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/open-uri, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Add :ssl_min_version and :ssl_max_version options</title>
<updated>2022-10-12T01:36:51+00:00</updated>
<author>
<name>Kazuki Yamaguchi</name>
<email>k@rhe.jp</email>
</author>
<published>2022-10-07T16:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4e29ca0c4093133838eda852879b23ed4fad56b5'/>
<id>4e29ca0c4093133838eda852879b23ed4fad56b5</id>
<content type='text'>
Replace :ssl_version option with these two new options. These provide
access to OpenSSL::SSL::SSLContext#{min,max}_version=, which is the
recommended way to specify SSL/TLS protocol versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace :ssl_version option with these two new options. These provide
access to OpenSSL::SSL::SSLContext#{min,max}_version=, which is the
recommended way to specify SSL/TLS protocol versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] fix: added test case that validates that bad TLS version is silently ignored</title>
<updated>2022-10-06T09:00:58+00:00</updated>
<author>
<name>Nishant Patel</name>
<email>91441876+nishantactivepipe@users.noreply.github.com</email>
</author>
<published>2022-02-16T05:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43e925090b6cf33b889904f8b795f4583b20a59b'/>
<id>43e925090b6cf33b889904f8b795f4583b20a59b</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/4b91b11730
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/4b91b11730
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] feat: allow option to pass version of SSL / TLS to use during communication. Allow versions are OpenSSL::SSL::SSLContext::METHODS</title>
<updated>2022-10-06T09:00:57+00:00</updated>
<author>
<name>Nishant Patel</name>
<email>91441876+nishantactivepipe@users.noreply.github.com</email>
</author>
<published>2022-02-05T03:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cdbaac3f4b6349907fe744f5eafab982b45e53e2'/>
<id>cdbaac3f4b6349907fe744f5eafab982b45e53e2</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/8729858517
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/8729858517
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Use omit instead of skip for test-unit</title>
<updated>2022-10-06T08:15:27+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-10-06T08:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f80ec47c3e6a1ac4f8c3e626d51ef6598d65b1c'/>
<id>7f80ec47c3e6a1ac4f8c3e626d51ef6598d65b1c</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/63f466d6ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/63f466d6ed
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Run global constant count test only under Ruby 3.2</title>
<updated>2022-10-06T08:15:26+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-10-06T08:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc5313ceab756887e5dcddcb3b293a842a01fbac'/>
<id>cc5313ceab756887e5dcddcb3b293a842a01fbac</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/a8f1605ae9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/a8f1605ae9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Avoid busting the global constant cache</title>
<updated>2022-10-06T07:55:44+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2022-02-18T08:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d15b38d944c27cb627741206d8adf285153a4df2'/>
<id>d15b38d944c27cb627741206d8adf285153a4df2</id>
<content type='text'>
`Object#extend(mod)` bump the global constant cache if the module
has constants of its own.

So by moving these constants outside of `Meta` we avoid bumping
the cache.

https://github.com/ruby/open-uri/commit/363c399bac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Object#extend(mod)` bump the global constant cache if the module
has constants of its own.

So by moving these constants outside of `Meta` we avoid bumping
the cache.

https://github.com/ruby/open-uri/commit/363c399bac
</pre>
</div>
</content>
</entry>
<entry>
<title>Guard for the ftp protocol feature of OpenURI</title>
<updated>2021-05-27T05:42:11+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-05-26T11:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=350bc29107e96871030ccffaf334c3e0a9d80f5f'/>
<id>350bc29107e96871030ccffaf334c3e0a9d80f5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some typos by spell checker</title>
<updated>2021-04-26T01:07:41+00:00</updated>
<author>
<name>Ryuta Kamizono</name>
<email>kamipo@gmail.com</email>
</author>
<published>2021-04-25T15:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=33f2ff3babb7054f3df1efa25c1285e09613d7b8'/>
<id>33f2ff3babb7054f3df1efa25c1285e09613d7b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the deprecated override of Kernel#open in open-uri</title>
<updated>2020-08-16T14:41:40+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-07-30T19:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a73b5cc556bd131fe924ed6bb02b3c5bdf1593e8'/>
<id>a73b5cc556bd131fe924ed6bb02b3c5bdf1593e8</id>
<content type='text'>
This was deprecated in 2.7 to resolve [Misc #15893].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was deprecated in 2.7 to resolve [Misc #15893].
</pre>
</div>
</content>
</entry>
<entry>
<title>The default charset of text/* media type is UTF-8.</title>
<updated>2019-07-15T00:36:52+00:00</updated>
<author>
<name>Tanaka Akira</name>
<email>akr@fsij.org</email>
</author>
<published>2019-07-15T00:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f7884761e30c453287d73de6ea733d565635ebc'/>
<id>8f7884761e30c453287d73de6ea733d565635ebc</id>
<content type='text'>
Thanks for the patch  gareth (Gareth Adams).  [Bug #15933]

-------

Combines two small, but very related changes

1: Treat HTTPS the same as HTTP

Previously, OpenURI followed guidance in RFC2616/3.7.1:

&gt; When no explicit charset parameter is provided by the sender, media
&gt; subtypes of the "text" type are defined to have a default charset
&gt; value of "ISO-8859-1" when received via HTTP.

However this RFC was written before TLS was established and OpenURI was
never updated to treat HTTPS traffic the same way. So, HTTPS documents
received a different default to HTTP documents.

This commit removes the scheme check so that all text/* documents
processed by OpenURI are treated the same way.

In theory this processing gets applied to FTP URIs too, but there's no
mechanism in OpenURI for FTP documents to have Content-Type metadata
appended to them, so this ends up being a no-op.

2: Change default charset for text/* to UTF-8

Replaces the default ISO-8859-1 charset previously defined in RFC2616 (now
obsoleted) with a UTF-8 charset as defined in RFC6838.

Fixes: https://bugs.ruby-lang.org/issues/15933
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks for the patch  gareth (Gareth Adams).  [Bug #15933]

-------

Combines two small, but very related changes

1: Treat HTTPS the same as HTTP

Previously, OpenURI followed guidance in RFC2616/3.7.1:

&gt; When no explicit charset parameter is provided by the sender, media
&gt; subtypes of the "text" type are defined to have a default charset
&gt; value of "ISO-8859-1" when received via HTTP.

However this RFC was written before TLS was established and OpenURI was
never updated to treat HTTPS traffic the same way. So, HTTPS documents
received a different default to HTTP documents.

This commit removes the scheme check so that all text/* documents
processed by OpenURI are treated the same way.

In theory this processing gets applied to FTP URIs too, but there's no
mechanism in OpenURI for FTP documents to have Content-Type metadata
appended to them, so this ends up being a no-op.

2: Change default charset for text/* to UTF-8

Replaces the default ISO-8859-1 charset previously defined in RFC2616 (now
obsoleted) with a UTF-8 charset as defined in RFC6838.

Fixes: https://bugs.ruby-lang.org/issues/15933
</pre>
</div>
</content>
</entry>
</feed>
