fix the incorrect changes made for PATH_INFO value - Issue10484

This commit is contained in:
Senthil Kumaran 2012-04-11 03:07:57 +08:00
parent b1df31f81e
commit fb2e874707
2 changed files with 7 additions and 11 deletions

View file

@ -419,6 +419,7 @@ def tearDown(self):
BaseTestCase.tearDown(self)
def test_url_collapse_path_split(self):
# verify tail is the last portion and head is the rest on proper urls
test_vectors = {
'': ('/', ''),
'..': IndexError,
@ -429,7 +430,6 @@ def test_url_collapse_path_split(self):
'/.//': ('/', ''),
'cgi-bin/file1.py': ('/cgi-bin', 'file1.py'),
'/cgi-bin/file1.py': ('/cgi-bin', 'file1.py'),
'/cgi-bin/file1.py/PATH-INFO': ('/cgi-bin', 'file1.py/PATH-INFO'),
'a': ('/', 'a'),
'/a': ('/', 'a'),
'//a': ('/', 'a'),