[issue14565] is_cgi doesn't function as documented for cgi_directories
Pierre Quentel
report at bugs.python.org
Sun May 6 09:46:12 CEST 2012
Pierre Quentel <pierre.quentel at gmail.com> added the comment:
Hi Glenn, good to hear from you ;-)
I think the fix can be simplified replacing
dir_sep = collapsed_path.find('/', 1)
by
dir_sep = collapsed_path.rfind('/', 1)
----------
nosy: +quentel
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14565>
_______________________________________
More information about the Python-bugs-list
mailing list