[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-13 Thread Xiang Zhang
Changes by Xiang Zhang : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-13 Thread Yudai Fujiwara
Yudai Fujiwara added the comment: I've just installed 2.7.11 and the bug seems to be fixed. Thank you for your accurate solution! Closed. -- resolution: -> out of date status: open -> closed ___ Python tracker __

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-13 Thread Xiang Zhang
Xiang Zhang added the comment: I think this is a bug in 2.7.5 and has already been fixed. I'd suggest you get a more recent version of 2.7. :-) -- ___ Python tracker ___ ___

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-13 Thread Yudai Fujiwara
Yudai Fujiwara added the comment: Thanks for your reply. I uploaded server.py. I'm using python 2.7.5 to run server.py on CentOS 7. Both server.py and index.py are located in /var/www/html. $ ls -lh -rwxr-xr-x. 1 root root 189 11月 13 11:21 index.py -rw-r--r--. 1 root root 239 11月 13 21:04 server

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-13 Thread Xiang Zhang
Xiang Zhang added the comment: Sorry Yudai, I cannot reproduce this. Both '/index.py?value=data' and '/index.py?/' outputs 'value = None' with your index.py. -- nosy: +martin.panter, xiang.zhang ___ Python tracker

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-12 Thread Yudai Fujiwara
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

[issue28679] CGIHTTPServer displays raw python code when the url contains '/' after '?'

2016-11-12 Thread Yudai Fujiwara
Changes by Yudai Fujiwara : -- components: Library (Lib) nosy: Yudai Fujiwara priority: normal severity: normal status: open title: CGIHTTPServer displays raw python code when the url contains '/' after '?' type: security versions: Python 2.7 ___ Pyt