This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, orsenthil, oscar.campos, quentel, v+python
Date 2015-10-03.11:46:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443872764.82.0.769718223604.issue14565@psf.upfronthosting.co.za>
In-reply-to
Content
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() is significant, and it good to be explicit about what it is returning.

It would be helpful to get a test case. Or multiple test cases if I am right about the individual file support.

And the documentation needs updating saying what is supported, with a “Version changed” notice. It would also be good to be specific about the syntax for cgi_directories. E.g. must start with a slash, cannot use Windows backslashes, must be a normalized path, not URL encoded. Is the root directory allowed?
History
Date User Action Args
2015-10-03 11:46:04martin.pantersetrecipients: + martin.panter, orsenthil, v+python, quentel, oscar.campos
2015-10-03 11:46:04martin.pantersetmessageid: <1443872764.82.0.769718223604.issue14565@psf.upfronthosting.co.za>
2015-10-03 11:46:04martin.panterlinkissue14565 messages
2015-10-03 11:46:04martin.pantercreate