closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem

This commit is contained in:
Senthil Kumaran 2012-03-16 01:14:51 -07:00
commit 209d70e579
3 changed files with 11 additions and 1 deletions

View file

@ -377,6 +377,7 @@ class CGIHTTPServerTestCase(BaseTestCase):
'/.//': ('/', ''),
'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'),