Martin Panter added the comment:
The patch looks like it also adds support for individual script file names in
cgi_directories. If that is the case, I suspect it would be tricked by a query
string (e.g. /some.cgi?query).
I object to removing the final “return False”. The return value of is_cgi
Glenn Linderman added the comment:
Martin, thanks for the recent activity in this area. Sorry I've not yet learned
how to submit patches. python_dev keeps busy changing the process and tools,
and I keep busy with other projects, having patched a version of http-server
well enough for my person
Martin Panter added the comment:
This smells like a new feature to me, because it is clearly not supported by
the existing code. If you wanted to fix the existing released versions of
Python, I think it would be better to clarify the documentation.
--
nosy: +martin.panter
title: is_cgi