2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem

This commit is contained in:
Senthil Kumaran 2012-03-16 01:07:16 -07:00
parent 4c59211bd5
commit 51a65c9161
3 changed files with 11 additions and 1 deletions

View file

@ -429,6 +429,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'),