[issue38863] http.server is_cgi() does not correctly separate dir

Siwon Kang report at bugs.python.org
Wed Nov 20 11:56:50 EST 2019


Siwon Kang <kkangshawn at gmail.com> added the comment:

Thank you for your message and the info about 21323. I agree with the idea that cgi files are conventionally placed at the cgi-bin of the root but there is no explicit regulation so other servers, apache for example, handle this kind of sub directories successfully. In short, there is no violation in the form of /subdir/cgi-bin so this is nice to have if the http.server processes this case correctly. By the way, I didn't consider the case of continuous slashes so PR must be modified.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38863>
_______________________________________


More information about the Python-bugs-list mailing list