[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'
Yudai Fujiwara
report at bugs.python.org
Sat Nov 12 21:33:12 EST 2016
New submission from Yudai Fujiwara:
I made a simple CGI server and prepared index.py on the root directory.
When I access to '/index.py?value=data', it displays 'value = data', which is working correctly.
However, when I access to '/index.py?/' or something like this, it displays its raw python code.
It seems that this bug occurs when I access to a url that contains '/' after '?'
----------
Added file: http://bugs.python.org/file45467/index.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28679>
_______________________________________
More information about the Python-bugs-list
mailing list