Remove query params.

Reported by: James Antill
https://bugzilla.redhat.com/show_bug.cgi?id=1099199
This commit is contained in:
Emil Mikulic
2014-05-26 21:36:29 +10:00
parent 5854227fc7
commit e8a38f9c6a
3 changed files with 24 additions and 3 deletions

View File

@ -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)