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 <rep...@bugs.python.org> <http://bugs.python.org/issue24657> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com