Flowdock
method

escape

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: WEBrick::AccessLog
escape(data) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.