Skip to content

Commit

Permalink
[alias_traversal] Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
buglloc committed Oct 10, 2017
1 parent 4930999 commit d00a58e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/plugins/simply/alias_traversal/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"severity": "HIGH"
}
5 changes: 5 additions & 0 deletions tests/plugins/simply/alias_traversal/nested.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
location /files/ {
location /files/images {
alias /home/;
}
}
5 changes: 5 additions & 0 deletions tests/plugins/simply/alias_traversal/nested_fp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
location /files/ {
location /files/images {
}
alias /home/;
}
3 changes: 3 additions & 0 deletions tests/plugins/simply/alias_traversal/simple.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
location /files {
alias /home/;
}
3 changes: 3 additions & 0 deletions tests/plugins/simply/alias_traversal/simple_fp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
location /files/ {
alias /home/;
}

0 comments on commit d00a58e

Please sign in to comment.