End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CGI#_no_crlf_check
_no_crlf_check(str)
lib/cgi/core.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/cgi/core.rb, line 191
def _no_crlf_check(str)
if str
str = str.to_s
raise "A HTTP status or header field must not include CR and LF" if str =~ /[\r\n]/
str
else
nil
end
end
No documentation available