General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 1 34 35
Reported issues 25 157 182

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

10:03 AM Ruby Revision 26beec7f (git): string.c: extract `tr_trans_pairs_search_prepare` function
byroot (Jean Boussier)
10:03 AM Ruby Revision 468a9843 (git): string.c: load tr_trans_pairs_search vectors once
We can build the search masks once during search preparation instead
of doing it on every iteration.
We also no longer need to keep the needles first bytes around.
| |compare-ruby|built-ruby|
|:------------|-----------:|---...
byroot (Jean Boussier)
10:03 AM Ruby Revision 7b5a70d9 (git): Benchmark: compare String#tr to ERB::Util.html_escape
byroot (Jean Boussier)

11/15/2026

12:33 PM Ruby Revision 476dfcd2 (git): hash.c: optimize ar_find_entry_hint
Better split the likely fast path andthe unlikely slow paths
to allow better inlining.
By first checking for strict identity of the two keys, we ensure
we're not calling back into Ruby, which saves us from having to
check if the table w...
byroot (Jean Boussier)
09:48 AM Ruby Revision 3be2b028 (git): [ruby/json] Fix handling of JRuby shared string in script_safe mode
https://github.com/ruby/json/commit/442dadb6fb byroot (Jean Boussier)

11/14/2026

10:33 AM Ruby Revision 548b36ef (git): [ruby/json] Better handle combined `html_safe` and `ascii_only`
https://github.com/ruby/json/commit/889c06a6fa byroot (Jean Boussier)
08:50 AM Ruby Revision e96e0134 (git): [ruby/json] script_safe: compare case insensitively
Followup: https://github.com/ruby/json/pull/1141
https://github.com/ruby/json/commit/29d10519e6
byroot (Jean Boussier)
08:50 AM Ruby Revision cabe3036 (git): [ruby/json] generator.c: optimize unsafe_html_tag_p2
Favor 4 and 8 byte copies, comparisons and transformations,
as they generate much more efficient code.
https://github.com/ruby/json/commit/fd4a8b4615
byroot (Jean Boussier)

11/13/2026

05:45 PM Ruby Revision 9009e039 (git): [ruby/json] Make the `script_safe` option both safer and less intrusive
Based on WHATWG recommendation "4.12.1.2 Restrictions for contents of script elements",
only escape `<script`, `</script` and `<!--`.
Now longer escape all forward slashes.
As a result it should escape much less than before, and keep
t...
byroot (Jean Boussier)
05:17 PM Ruby Bug #22258 (Closed): Update bundled json to >= 2.19.2 on ruby_4_0 (CVE-2026-33210)
Applied in changeset commit:git|224a1ca0a6515f3500989eadc666c8edf508f980.
----------
Upgrade json gem to 2.18.3
Fixes: GHSA-3m6g-2423-7cp3 / CVE-2026-33210
[Bug #22258]
byroot (Jean Boussier)

Also available in: Atom