Project

General

Profile

Actions

Bug #22666

open

erb: ERB::Util.html_escape can raise Ractor::IsolationError

Bug #22666: erb: ERB::Util.html_escape can raise Ractor::IsolationError

Added by altruby (Alt Ruby) about 7 hours ago. Updated about 3 hours ago.

Status:
Open
Assignee:
Target version:
-
[ruby-core:127783]

Description

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.

##
# => Ractor::IsolationError
Ractor.new do
  ERB::Util.escape_html("hello".encode("ISO-2022-JP"))
end.value

Updated by luke-gru (Luke Gruber) about 3 hours ago Actions #1

  • Assignee set to ractor
Actions

Also available in: PDF Atom