module Roda::RodaPlugins::UnescapePath::RequestMethods

  1. lib/roda/plugins/unescape_path.rb

Methods

Public Instance

  1. matched_path

Public Instance methods

matched_path()

Make sure the matched path calculation handles the unescaping of the remaining path.

[show source]
   # File lib/roda/plugins/unescape_path.rb
23 def matched_path
24   e = @env
25   _unescape_path(e["SCRIPT_NAME"] + e["PATH_INFO"]).chomp(@remaining_path)
26 end