Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.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