Commits

Anonymous committed a485d83

Tests actually look just fine, but just two similar cases. And remove a dead directory

  • Participants
  • Parent commits 96b72b2

Comments (0)

Files changed (1)

tests/test_urlparser.py

     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():