method
escape_path
escape_path(str)
public
Hide source
# File lib/webrick/httputils.rb, line 379 def escape_path(str) result = "" str.scan(%r{/([^/]*)}).each{|i| result << "/" << _escape(i[0], UNESCAPED_PCHAR) } return result end