[issue24657] CGIHTTPServer module discard continuous '/' letters from params given by GET method.
takayuki
report at bugs.python.org
Mon Sep 21 14:54:27 CEST 2015
takayuki added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24657>
_______________________________________
More information about the Python-bugs-list
mailing list