Martin Panter added the comment:

Yes it also seems to apply to Python 3.

Perhaps you forgot your test script, so I made my own. After running

python3 -m http.server --cgi

The response from the following URL has no double slashes to be seen:

http://localhost:8000/cgi-bin/test.py//x//y//?k=aa%2F%2Fbb&//q//p//=//a//b//

I am not a CGI expert, but I suspect the query string bits should have double 
slashes, but maybe the PATH_INFO is right not to (see RFC 3875).

----------
nosy: +martin.panter
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40541/test.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

Reply via email to