Roundup Robot added the comment:
New changeset d367ea865ea4 by Ned Deily in branch '2.7':
Issue #21323: Fix CGIHTTPServer to again handle scripts in CGI subdirectories,
http://hg.python.org/cpython/rev/d367ea865ea4
New changeset 4de94641ba3e by Ned Deily in branch '3.2':
Issue #21323: Fix
Ned Deily added the comment:
Since the original changes for Issue19435 were also applied to branches in
security fix mode, the fix here is applied to them as well, with the exception
of 3.1 which has subsequently moved to end-of-life status. Applied for release
in 2.7.9, 3.2.6, 3.3.6, 3.4.2,
Ned Deily added the comment:
The fix and test look good to me. I'll apply it after Zach submits the
contributor agreement.
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21323
Zach Byrne added the comment:
Done and done.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21323
___
___
Python-bugs-list mailing list
Ned Deily added the comment:
Zach, thanks for the patch and the test. Someone will review it in the coming
days. In the meantime, if you haven't already, please review and submit the
Python Contributor's Agreement:
https://www.python.org/psf/contrib/contrib-form/ otherwise we won't be able to
Zach Byrne added the comment:
Hi, I'm new. I wrote a test for nested directories under cgi-bin and got that
to pass without failing the test added for 19435 by undoing most of the changes
to run_cgi() but building path from the values in self.cgi_info. Thoughts?
--
keywords: +patch
Konstantin S. Solnushkin added the comment:
Hi, I am curious about the fate of this issue -- whether it will be recognised
as a bug (possibly a regression bug). Remember, it worked in Python 3.3 but
stopped working in 3.4.
--
___
Python tracker
Ned Deily added the comment:
The change in behavior is definitely caused by the changes for Issue19435. The
code added there does not work correctly if there are nested directories in the
cgi-bin directory; for one thing, the initial os.path.isdir(scriptdir) test
in run_cgi is failing
Ned Deily added the comment:
BTW, if someone is looking for an issue to help out with, this might be a good
choice.
--
keywords: +easy -buildbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21323
New submission from Konstantin S. Solnushkin:
Somewhere between Python 3.3 and 3.4, a bug was introduced that forbids the
http.server module, working in CGI server mode, to run scripts residing in
subdirectories.
This will break existing software that relies on this feature.
How to reproduce
10 matches
Mail list logo