<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/cgi/escape/escape.c, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/cgi] Fix unescapeHTML</title>
<updated>2023-11-30T08:19:28+00:00</updated>
<author>
<name>flosacca</name>
<email>flosacca@gmail.com</email>
</author>
<published>2023-11-22T17:49:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=30e477802094e1c47fb5946b79aeeebb3b3ebec5'/>
<id>30e477802094e1c47fb5946b79aeeebb3b3ebec5</id>
<content type='text'>
https://github.com/ruby/cgi/commit/67610e6ca8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/cgi/commit/67610e6ca8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/cgi] Add snake case aliases for escapeURIComponent</title>
<updated>2023-11-07T10:22:30+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2022-08-16T10:43:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ced84beb2518d173988bb92c6d96aa854a35abe6'/>
<id>ced84beb2518d173988bb92c6d96aa854a35abe6</id>
<content type='text'>
As agreed in [Feature #18822]

https://github.com/ruby/cgi/commit/9d1161ec9d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As agreed in [Feature #18822]

https://github.com/ruby/cgi/commit/9d1161ec9d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/cgi] Implement `CGI.url_encode` and `CGI.url_decode`</title>
<updated>2022-08-16T10:12:03+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2022-06-09T10:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3850113e20b8c031529fc79de7202f61604425dd'/>
<id>3850113e20b8c031529fc79de7202f61604425dd</id>
<content type='text'>
[Feature #18822]

Ruby is somewhat missing an RFC 3986 compliant escape method.

https://github.com/ruby/cgi/commit/c2729c7f33
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #18822]

Ruby is somewhat missing an RFC 3986 compliant escape method.

https://github.com/ruby/cgi/commit/c2729c7f33
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand tabs [ci skip]</title>
<updated>2022-07-21T16:42:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-07-21T16:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b21e94bebed90180d8ff63dad03b8b948361089'/>
<id>5b21e94bebed90180d8ff63dad03b8b948361089</id>
<content type='text'>
[Misc #18891]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Misc #18891]
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/cgi] Check integer overflow in long range</title>
<updated>2021-12-12T04:05:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-03T10:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e4b35b158a16c42d2b91a3e88309875240d0ce27'/>
<id>e4b35b158a16c42d2b91a3e88309875240d0ce27</id>
<content type='text'>
https://hackerone.com/reports/1328463

https://github.com/ruby/cgi/commit/ccaf6027e0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://hackerone.com/reports/1328463

https://github.com/ruby/cgi/commit/ccaf6027e0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/cgi] Fix integer overflow</title>
<updated>2021-11-24T10:58:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-03T10:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=da34f31ad0315b9b8dfb318aafab393aee54968f'/>
<id>da34f31ad0315b9b8dfb318aafab393aee54968f</id>
<content type='text'>
Make use of the check in rb_alloc_tmp_buffer2.

https://hackerone.com/reports/1328463

https://github.com/ruby/cgi/commit/c728632c1c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make use of the check in rb_alloc_tmp_buffer2.

https://hackerone.com/reports/1328463

https://github.com/ruby/cgi/commit/c728632c1c
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix -Wundef warnings for HAVE_RB_EXT_RACTOR_SAFE</title>
<updated>2021-05-04T12:56:55+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2021-04-29T13:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fa7a712d460dc904f8a836bb22b54d457d95ba8e'/>
<id>fa7a712d460dc904f8a836bb22b54d457d95ba8e</id>
<content type='text'>
* See [Feature #17752]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* See [Feature #17752]
</pre>
</div>
</content>
</entry>
<entry>
<title>cgi/escape is ractor-safe</title>
<updated>2020-12-19T19:22:29+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2020-12-19T19:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c1461c927b123468ba83713676dcda48e51c8ec1'/>
<id>c1461c927b123468ba83713676dcda48e51c8ec1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate taint/trust and related methods, and make the methods no-ops</title>
<updated>2019-11-17T23:00:25+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-09-25T03:59:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ffd0820ab317542f8780aac475da590a4bdbc7a8'/>
<id>ffd0820ab317542f8780aac475da590a4bdbc7a8</id>
<content type='text'>
This removes the related tests, and puts the related specs behind
version guards.  This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the related tests, and puts the related specs behind
version guards.  This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize CGI.escapeHTML by reducing buffer extension</title>
<updated>2019-06-05T12:07:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2019-06-05T10:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a29dc87e62c701db56816cb430daf07a4f02bea'/>
<id>0a29dc87e62c701db56816cb430daf07a4f02bea</id>
<content type='text'>
and switch-case branches.

Buffer allocation optimization using `ALLOCA_N` would be the main
benefit of patch. It eliminates the O(N) buffer extensions.

It also reduces the number of branches using escape table like
https://mattn.kaoriya.net/software/lang/c/20160817011915.htm.

Closes: https://github.com/ruby/ruby/pull/2226

Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
Co-authored-by: Yasuhiro MATSUMOTO &lt;mattn.jp@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and switch-case branches.

Buffer allocation optimization using `ALLOCA_N` would be the main
benefit of patch. It eliminates the O(N) buffer extensions.

It also reduces the number of branches using escape table like
https://mattn.kaoriya.net/software/lang/c/20160817011915.htm.

Closes: https://github.com/ruby/ruby/pull/2226

Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
Co-authored-by: Yasuhiro MATSUMOTO &lt;mattn.jp@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
