[New-bugs-announce] [issue24657] CGIHTTPServer module discard continuous '/' letters from params given by GET method.

takayuki report at bugs.python.org
Sat Jul 18 04:49:36 CEST 2015


New submission from takayuki:

I executed CGIHTTPServer and requested the following URI,
"http://localhost:8000/cgi-bin/test.py?k=aa%2F%2Fbb"
to pass "aa//bb" as argument "k",
but test.py received "aa/bb".

I looked in CGIHTTPServer.py and found _url_collapse_path function
discards continuous slash letters even they are in the given parameters.

----------
components: Library (Lib)
messages: 246877
nosy: takayuki
priority: normal
severity: normal
status: open
title: CGIHTTPServer module discard continuous '/' letters from params given by GET method.
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24657>
_______________________________________


More information about the New-bugs-announce mailing list