mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Remove query params.
Reported by: James Antill https://bugzilla.redhat.com/show_bug.cgi?id=1099199
This commit is contained in:
@ -205,6 +205,12 @@ class TestFileGet(TestHelper):
|
||||
def test_file_get_redundant_dots(self):
|
||||
self.get_helper("/././." + self.url)
|
||||
|
||||
def test_file_get_question(self):
|
||||
self.get_helper(self.url + "?")
|
||||
|
||||
def test_file_get_question_query(self):
|
||||
self.get_helper(self.url + "?action=Submit")
|
||||
|
||||
def test_file_head(self):
|
||||
resp = Conn().get(self.url, method="HEAD")
|
||||
status, hdrs, body = parse(resp)
|
||||
|
Reference in New Issue
Block a user