method
escape
escape(data)
public
Hide source
# File lib/webrick/accesslog.rb, line 143 def escape(data) if data.tainted? data.gsub(/[[:cntrl:]\\]+/) {$&.dump[1...-1]}.untaint else data end end