= private = protected
escape(data)
Escapes control characters in data
# File lib/webrick/accesslog.rb, line 150 def escape(data) if data.tainted? data.gsub(/[[:cntrl:]\\]+/) {$&.dump[1...-1]}.untaint else data end end