mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
add comment
This commit is contained in:
parent
b3dbbb80dd
commit
474ca8d348
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ describe Rack::Protection::PathTraversal do
|
|||
it("does not touch #{path.inspect}") { get(path).body.should == path }
|
||||
end
|
||||
|
||||
{
|
||||
{ # yes, this is ugly, feel free to change that
|
||||
'/..' => '/', '/a/../b' => '/b', '/a/../b/' => '/b/', '/a/.' => '/a/',
|
||||
'/%2e.' => '/', '/a/%2e%2e/b' => '/b', '/a%2f%2e%2e%2fb/' => '/b/',
|
||||
'//' => '/', '/%2fetc%2fpasswd' => '/etc/passwd'
|
||||
|
|
Loading…
Reference in a new issue