mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Add test for urldecode()
This commit is contained in:
parent
11f953e783
commit
5058dfeb03
@ -202,6 +202,9 @@ class TestFileGet(TestHelper):
|
||||
def test_file_get(self):
|
||||
self.get_helper(self.url)
|
||||
|
||||
def test_file_get_urldecode(self):
|
||||
self.get_helper(''.join(['%%%02x' % ord(x) for x in self.url]))
|
||||
|
||||
def test_file_get_redundant_dots(self):
|
||||
self.get_helper("/././." + self.url)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user