diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-04-11 03:07:57 +0800 |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-04-11 03:07:57 +0800 |
commit | fb2e874707b0817124a2427a9367276b13fbc4ad (patch) | |
tree | 1832bb00b2f21ec2178bec8dac78350661cdd05f /Lib/test/test_httpservers.py | |
parent | b1df31f81eb23905769444f97d364e0042b65e14 (diff) | |
download | cpython-git-fb2e874707b0817124a2427a9367276b13fbc4ad.tar.gz |
fix the incorrect changes made for PATH_INFO value - Issue10484
Diffstat (limited to 'Lib/test/test_httpservers.py')
-rw-r--r-- | Lib/test/test_httpservers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index a7752d9276..d1b924d930 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -419,6 +419,7 @@ class CGIHTTPServerTestCase(BaseTestCase): 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 @@ 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'), |