74c76c8f06c60698a23289abc48d23b9b4ea6c27 |
|
03-Oct-2015 |
Martin Panter <vadmium+py@gmail.com> |
Issue #24657: Prevent CGIRequestHandler from collapsing the URL query Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc string.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
cff22eb2bfde08b000c476e121eef551a5e3af6c |
|
03-Oct-2015 |
Martin Panter <vadmium+py@gmail.com> |
Issue #25232: Fix CGIRequestHandler's splitting of URL query Patch from Xiang Zhang.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
c89376292efeddb56ffc34474bbd6b8fd45ca31f |
|
13-Jul-2014 |
Ned Deily <nad@acm.org> |
Issue #21323: Fix CGIHTTPServer to again handle scripts in CGI subdirectories, broken by the fix for security issue #19435. Patch by Zach Byrne.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
8d24d77c63bdbf25d68bf0a6cad408d06abf2d00 |
|
15-Jun-2014 |
Benjamin Peterson <benjamin@python.org> |
url unquote the path before checking if it refers to a CGI script (closes #21766)
/external/python/cpython2/Lib/CGIHTTPServer.py
|
1ef959ac3ddc4d96dfa1a613db5cb206cdaeb662 |
|
30-Oct-2013 |
Benjamin Peterson <benjamin@python.org> |
use the collapsed path in the run_cgi method (closes #19435)
/external/python/cpython2/Lib/CGIHTTPServer.py
|
5f7e7345cf4f583c127160aa43ee5c3fea7ba06f |
|
11-Apr-2012 |
Senthil Kumaran <senthil@uthcode.com> |
Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
/external/python/cpython2/Lib/CGIHTTPServer.py
|
fb2e874707b0817124a2427a9367276b13fbc4ad |
|
10-Apr-2012 |
Senthil Kumaran <senthil@uthcode.com> |
fix the incorrect changes made for PATH_INFO value - Issue10484
/external/python/cpython2/Lib/CGIHTTPServer.py
|
51a65c91611aa7deb222f24ad2c94021910b7a54 |
|
16-Mar-2012 |
Senthil Kumaran <senthil@uthcode.com> |
2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem
/external/python/cpython2/Lib/CGIHTTPServer.py
|
3606f9570ea8e40ad687d302dd7eb85a051eb18f |
|
05-Nov-2010 |
Brian Curtin <brian.curtin@gmail.com> |
Merged revisions 86195 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86195 | brian.curtin | 2010-11-05 10:04:48 -0500 (Fri, 05 Nov 2010) | 3 lines Close subprocess pipes in the non-UNIX section of run_cgi. Clears a number of ResourceWarnings in test_httpservers. ........
/external/python/cpython2/Lib/CGIHTTPServer.py
|
a9bd0cc67e77d465ae747071377407f00d62f19c |
|
03-Oct-2010 |
Senthil Kumaran <orsenthil@gmail.com> |
Merged revisions 85202 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85202 | senthil.kumaran | 2010-10-03 23:25:45 +0530 (Sun, 03 Oct 2010) | 4 lines Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of os.environ ........
/external/python/cpython2/Lib/CGIHTTPServer.py
|
5dff3544f3b3b43f739b8ca02a8f1391e9128bb5 |
|
11-Nov-2009 |
Senthil Kumaran <orsenthil@gmail.com> |
Fixing the NameError on Windows - issue1235
/external/python/cpython2/Lib/CGIHTTPServer.py
|
3a145a18c863f2b573b47126f7d6ed35bc3d48af |
|
11-Nov-2009 |
Senthil Kumaran <orsenthil@gmail.com> |
CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix based on Issue1235.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
4bd76641b845022c6a8ae5c68a1bd15145b02935 |
|
03-May-2009 |
Gregory P. Smith <greg@mad-scientist.com> |
docstring update.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
923ba361d8f757f0656cfd216525aca4848e02aa |
|
06-Apr-2009 |
Gregory P. Smith <greg@mad-scientist.com> |
- Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are now collapsed within the url properly before looking in cgi_directories.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
4ed9be733b58712e3e91dafa5ab13cc0a6d99702 |
|
17-Jul-2008 |
Georg Brandl <georg@python.org> |
#3345: fix docstring.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
83b2bf6d9a7f3fe774bdce69b5d9a4202bd7889c |
|
09-Mar-2007 |
Collin Winter <collinw@gmail.com> |
Patch #1481079: Support of HTTP_REFERER in CGIHTTPServer.py
/external/python/cpython2/Lib/CGIHTTPServer.py
|
f733abb7831d6566cb0fccd0550d58ec3b7f05a4 |
|
30-Jan-2007 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
b29069d6b64e119f97ca860433e74d8dc2eb3707 |
|
22-Dec-2006 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in sub-directories
/external/python/cpython2/Lib/CGIHTTPServer.py
|
6414cd8717dfc923b22d8541db1f6e9ebb8dc023 |
|
22-Dec-2004 |
Jeremy Hylton <jeremy@alum.mit.edu> |
SF patch #1055159 via Titus Brown: Document redirect limitation. Bug fix candidate.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
a28b3e6dfb399a6107b717d78bc81ef6be80f123 |
|
29-Aug-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #727483: Add AUTH_TYPE and REMOTE_USER.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
70ec0b42b581014f5c8c9092720a26a1988ce0e9 |
|
20-Mar-2004 |
Guido van Rossum <guido@python.org> |
Fix for SF 777848. I've been bitten by this myself in the past half year. I hope this fix is right. I'll backport this to 2.3.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
27f49610afe5ca8fdce780490ec22def39bbbe3c |
|
20-Mar-2004 |
Tim Peters <tim.peters@gmail.com> |
SF patch 508730 CGIHTTPServer execfile should save cwd UNTESTED!!! This simple two-line patch has been sitting on SF for more than 2 years. I'm guessing it's because nobody knows how to test it -- I sure don't. It doesn't look like you can get to this part of the code on Unixish or Windows systems, so the "how to test it?" puzzle has more than one part. OTOH, if this is dead code, it doesn't matter either if I just broke it <wink>.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
70a6b49821a3226f55e9716f32d802d06640cb89 |
|
12-Feb-2004 |
Walter Dörwald <walter@livinglogic.de> |
Replace backticks with repr() or "%r" From SF patch #852334.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
92f200b569d402e1c4adabfb4c7dc7c9c11891fe |
|
14-Jul-2003 |
Raymond Hettinger <python@rcn.com> |
SF bug #770601: CGIHTTPServer and environment variables (bug + solution) (contributed by Vincent Delft.) The script updated os.environ but failed to pass the whole environment to the child process (the CGI script).
/external/python/cpython2/Lib/CGIHTTPServer.py
|
e2f18377ff21c0e3217d561c8509e6816ecb362d |
|
29-Jun-2003 |
Raymond Hettinger <python@rcn.com> |
SF bug #430160: CGIHTTPServer.py POST bug using IE Minor improvement to previous bugfix. Eating the remaining characters would lead to an endless loop without a termination test.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
8a978f7cdeaf7c96ef5b53a501bcd689bcd90820 |
|
08-Jan-2003 |
Steve Holden <steve@holdenweb.com> |
Fix bug 427345 [related to IE's additional input on POST request].
/external/python/cpython2/Lib/CGIHTTPServer.py
|
b39031587246c0c2dfc21271c1bbfb37dbfc748f |
|
17-Oct-2002 |
Guido van Rossum <guido@python.org> |
Must catch TypeError from int(length).
/external/python/cpython2/Lib/CGIHTTPServer.py
|
e3ec296df8a4abcf7b6808ed44bc67dc8ea0bd5c |
|
20-Aug-2002 |
Guido van Rossum <guido@python.org> |
Typo repair. Please include in any backports.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
0bd783228538b761e9b75cea3f42931c2d4ba6c6 |
|
20-Aug-2002 |
Guido van Rossum <guido@python.org> |
SF patch 595846 by Brett Cannon: Update environ for CGIHTTPServer.py This patch causes CGIHTTPServer to update os.environ regardless of how it tries to handle calls (fork, popen*, etc.). Backport bugfix candidate.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
b54c27c861ad71fc090939da4c5fdb4f5e3bc67c |
|
01-Aug-2002 |
Guido van Rossum <guido@python.org> |
Fix for SF bug 570678 (can't flush read-only file on Mac OS X).
/external/python/cpython2/Lib/CGIHTTPServer.py
|
32200aeac697fcb3f2b4528127a2fbf0a22a8f17 |
|
01-Jun-2002 |
Raymond Hettinger <python@rcn.com> |
Replaced obsolete stat module constants with equivalent attributes
/external/python/cpython2/Lib/CGIHTTPServer.py
|
8ca162f417c6a72faf02831457b4054a73087b78 |
|
07-Apr-2002 |
Guido van Rossum <guido@python.org> |
Partial introduction of bools where appropriate.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
bc0e9108261693b6278687f4fb4709ff76c2e543 |
|
05-Apr-2002 |
Tim Peters <tim.peters@gmail.com> |
Convert a pile of obvious "yes/no" functions to return bool.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
3c643d8db3dbf58b9a75462d15359573964c57c7 |
|
23-Mar-2002 |
Skip Montanaro <skip@pobox.com> |
tighten up except - int() only raises ValueError
/external/python/cpython2/Lib/CGIHTTPServer.py
|
8cb6540652292991b8d1af4b66c125f270a094bf |
|
01-Feb-2002 |
Guido van Rossum <guido@python.org> |
Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32 This uses os.popen3 (if it exists) to ensure that errors from a non-Python CGI script are logged. Bugfix candidate.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
0afde13b435f484ecbc3e95107d2318415f21d29 |
|
26-Oct-2001 |
Guido van Rossum <guido@python.org> |
Fix two typos, one noted by Noah Spurrier in SF bug #475166, the second noted after a second's thought about what the next line should do. :-(
/external/python/cpython2/Lib/CGIHTTPServer.py
|
bcbdc95e90794794081927b81006ce8563974969 |
|
17-Oct-2001 |
Guido van Rossum <guido@python.org> |
SF patch #467430. - replace some log_error() calls with log_message() - flush self.rfile before forking too (hope this works on Windows)
/external/python/cpython2/Lib/CGIHTTPServer.py
|
16fd3381d4e5ba884c5b9e5135a1d7cc5e5e9a2c |
|
07-Aug-2001 |
Guido van Rossum <guido@python.org> |
Apply two small changes to the Windows code, according to SF bug #427345. These are supposed to support binary data and avoid buffering problems on Windows.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
7e642e82d3429d9b4f583ba0e81a27e5ea02d5ca |
|
09-Feb-2001 |
Eric S. Raymond <esr@thyrsus.com> |
Eliminate use of string.whitespace and a string import with it. Some of the characters (form feed, vertical tab) are not legal continuation characters anyway, so this was wrong as well as annoying.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
6b71e747b19c41e0665ee14eb755c924a40dd774 |
|
09-Feb-2001 |
Eric S. Raymond <esr@thyrsus.com> |
String method conversion.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
e99d5ea25ba994491c773d9b5872332334ccd1c5 |
|
20-Jan-2001 |
Skip Montanaro <skip@pobox.com> |
added __all__ lists to a number of Python modules added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
e7d6b0a22e07adfa33cfa8658acf4c0b3cbecb39 |
|
19-Sep-2000 |
Guido van Rossum <guido@python.org> |
An honest attempt to make this work on Unix, Windows, and even Macintosh (the latter untested). This closes Bug #110839.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
6aefd91c7f4f446dc6ea95ea00c62fc847ce886a |
|
01-Sep-2000 |
Guido van Rossum <guido@python.org> |
Now that StreamRequestHandler defaults rfile to buffered, make it unbuffered (by setting the class variable rbufsize to 0), because we (may) need to pass the file descriptor to the subprocess running the CGI script positioned after the headers.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
14bb71d5535747be9b3a10ff1cf7be9e15001d90 |
|
18-Oct-1999 |
Fred Drake <fdrake@acm.org> |
os.fork raises AttributeError, not NameError, if fork() isn't supported. Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
40e84db0f4ca06cfd40f6eebe2f9907797c8a67b |
|
16-Oct-1999 |
Fred Drake <fdrake@acm.org> |
Based on comments from Paul Prescod: If os.fork() doesn't exist, raise SystemError with an explanation at the top of the module. Added a note to the module docstring.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
3a64e058ebaaeb82db30f3ce9357dd821668ddfc |
|
03-May-1999 |
Guido van Rossum <guido@python.org> |
No need to import sys, time, or socket. (Andrew Dalke & kjpylint)
/external/python/cpython2/Lib/CGIHTTPServer.py
|
630b811676c24bd3c15df9484c3e73c500fbf746 |
|
28-Apr-1999 |
Guido van Rossum <guido@python.org> |
Two changes suggested by Jan Pieter Riegel: (1) Fix reference to pwd.error to be KeyError -- there is no pwd.error and pwd.getpwnam() raises KeyError on failure. (2) Add cookie support, by placing the 'Cookie:' header, if present, in the HTTP_COOKIE environment variable.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
9228cbd0844f9f0a641832b214a47006c77333bb |
|
07-Dec-1998 |
Guido van Rossum <guido@python.org> |
Patch by Jeff Rush: In CGIHTTPServer.py, the list of acceptable formats is -split- on spaces but -joined- on commas, resulting in double commas in the joined text. It appears harmless to my browser but ought to be fixed anyway. 'A, B, C' -> 'A,', 'B,', 'C,' -> 'A,,B,,C'
/external/python/cpython2/Lib/CGIHTTPServer.py
|
01fc65d92fcf774c4b14fb0e744ad4d08c825168 |
|
13-May-1998 |
Guido van Rossum <guido@python.org> |
From: conrad@cgl.ucsf.edu (Conrad Huang %CGL) To: python-list@cwi.nl Date: 13 May 98 18:33:11 GMT I think I found a bug in CGIHTTPServer.py. (Does anyone care? :-) I was trying to use it as the web server for uploading files. Python CGI scripts (using the CGI module) that worked for other servers (e.g., Netscape Enterprise server) hang when run from CGIHTTPServer. The problem is that the content type parameters, in particular the boundary parameter, were not passed through to the CGI scripts, thus making the MIME parsing code choke. My simple-minded fix is: % diff CGIHTTPServer.py /usr/local/lib/python1.5/CGIHTTPServer.py 137,140c136 < if self.headers.typeheader is None: < env['CONTENT_TYPE'] = self.headers.type < else: < env['CONTENT_TYPE'] = self.headers.typeheader --- > env['CONTENT_TYPE'] = self.headers.type Conrad
/external/python/cpython2/Lib/CGIHTTPServer.py
|
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 |
|
26-Mar-1998 |
Guido van Rossum <guido@python.org> |
Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
00f9fea288baed5a37e3866b492185b5045d30d4 |
|
24-Dec-1997 |
Guido van Rossum <guido@python.org> |
Use string.replace instead of regsub.[g]sub.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
78016145d650402d0ab1d2033894c65b06139ea6 |
|
19-Feb-1997 |
Guido van Rossum <guido@python.org> |
Remove some bogus code that would cause a NameError if a -r option was passed.
/external/python/cpython2/Lib/CGIHTTPServer.py
|
13ad35a7d68f2da9ef85984a219a637b5d083adb |
|
25-Jan-1996 |
Guido van Rossum <guido@python.org> |
real test for executable script
/external/python/cpython2/Lib/CGIHTTPServer.py
|
92d09320255dbcfc03a2747ea0f5f9bec47debfd |
|
29-Aug-1995 |
Guido van Rossum <guido@python.org> |
changed some commas into percent signs
/external/python/cpython2/Lib/CGIHTTPServer.py
|
e7e578ffe042ca84f5b57e8056cb5598c7b44e5a |
|
04-Aug-1995 |
Guido van Rossum <guido@python.org> |
Initial revision
/external/python/cpython2/Lib/CGIHTTPServer.py
|