From: "altruby (Alt Ruby) via ruby-core" Date: 2026-12-01T13:11:43+00:00 Subject: [ruby-core:127783] [Ruby Bug#22666] erb: ERB::Util.html_escape can raise Ractor::IsolationError Issue #22666 has been reported by altruby (Alt Ruby). ---------------------------------------- Bug #22666: erb: ERB::Util.html_escape can raise Ractor::IsolationError https://bugs.ruby-lang.org/issues/22666 * Author: altruby (Alt Ruby) * Status: Open * ruby -v: n/a * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- Incomplete Ractor support in ERB (https://github.com/ruby/erb) The incomplete support is probably in cgi.rb though. This codepath travels through to CGI.escapeHTML. I cannot open issues on ruby/erb so opening here. ```ruby ## # => Ractor::IsolationError Ractor.new do ERB::Util.escape_html("hello".encode("ISO-2022-JP")) end.value ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/