Author takayuki
Recipients takayuki
Date 2015-09-21.12:54:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442840067.26.0.494438114407.issue24657@psf.upfronthosting.co.za>
In-reply-to
Content
This bug seems to remain in Python 3.5.0.

How to reproduce:

1. Save the attached cgitest.py into cgi-bin directory and changed it to executable file by "chmod +x cgitest.py"

2. Run CGIHTTPRequestHandler
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import http.server
>>> http.server.test(HandlerClass=http.server.CGIHTTPRequestHandler)

3. Visit http://localhost:8000/cgi-bin/cgitest.py by any browser.

4. Input "a/b/c//d//e///f///g" to form named "p".

5. The continuous slash letters are trimed and "a/b/c/d/e/f/g" is given to cgitest.py.
History
Date User Action Args
2015-09-21 12:54:27takayukisetrecipients: + takayuki
2015-09-21 12:54:27takayukisetmessageid: <1442840067.26.0.494438114407.issue24657@psf.upfronthosting.co.za>
2015-09-21 12:54:27takayukilinkissue24657 messages
2015-09-21 12:54:26takayukicreate