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