module Roda::RodaPlugins::UnescapePath::RequestMethods
Public Instance Methods
Source
# File lib/roda/plugins/unescape_path.rb, line 25 def matched_path e = @env Rack::Utils.unescape(e["SCRIPT_NAME"] + e["PATH_INFO"]).chomp(@remaining_path) end
Make sure the matched path calculation handles the unescaping of the remaining path.
Private Instance Methods
Source
# File lib/roda/plugins/unescape_path.rb, line 33 def _remaining_path(env) Rack::Utils.unescape(super) end
Unescape the path.
Calls superclass method