summaryrefslogtreecommitdiff
path: root/tests/test_urlparser.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-06-22 04:51:22 +0000
committerianb <devnull@localhost>2006-06-22 04:51:22 +0000
commit2c2b438bac570e38c62f004a194574c8b1a30bba (patch)
treec846c178384ee2773050ef079f8c1a009b3ef0d1 /tests/test_urlparser.py
parent16bf2b6740697c756bcd9f20cb39f8df4dd2c5eb (diff)
downloadpaste-2c2b438bac570e38c62f004a194574c8b1a30bba.tar.gz
Tests actually look just fine, but just two similar cases. And remove a dead directory
Diffstat (limited to 'tests/test_urlparser.py')
-rw-r--r--tests/test_urlparser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_urlparser.py b/tests/test_urlparser.py
index 8abb16e..1d99c3f 100644
--- a/tests/test_urlparser.py
+++ b/tests/test_urlparser.py
@@ -42,6 +42,8 @@ def test_find_file():
res = app.get('/../secured.txt', status=404)
res = app.get('/dir with spaces/../../secured.txt', status=404)
res = app.get('/%2e%2e/secured.txt', status=404)
+ res = app.get('/%2e%2e%3fsecured.txt', status=404)
+ res = app.get('/..%3fsecured.txt', status=404)
res = app.get('/dir%20with%20spaces/%2e%2e/%2e%2e/secured.txt', status=404)
def test_deep():