mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Improve make_safe_uri coverage.
This commit is contained in:
@ -236,6 +236,7 @@ def setUpModule():
|
||||
["no leading slash", "dir/../", "assertIsInvalid"],
|
||||
["invalid up dir", "/../", "assertIsInvalid"],
|
||||
["fancy invalid up dir", "/./dir/./../../", "assertIsInvalid"],
|
||||
["extra slashes 2", "//.d", "assertNotFound"],
|
||||
["not found", "/not_found.txt", "assertNotFound"],
|
||||
["forbidden", "/forbidden/x", "assertForbidden"],
|
||||
["unreadable", "/unreadable/", "assertUnreadable"],
|
||||
|
Reference in New Issue
Block a user