Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixing the NameError on Windows - issue1235 | Senthil Kumaran | 2009-11-11 | 1 | -5/+5 |
| | |||||
* | CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix | Senthil Kumaran | 2009-11-11 | 1 | -54/+23 |
| | | | | based on Issue1235. | ||||
* | docstring update. | Gregory P. Smith | 2009-05-03 | 1 | -0/+3 |
| | |||||
* | - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are | Gregory P. Smith | 2009-04-06 | 1 | -19/+52 |
| | | | | now collapsed within the url properly before looking in cgi_directories. | ||||
* | #3345: fix docstring. | Georg Brandl | 2008-07-16 | 1 | -4/+5 |
| | |||||
* | Patch #1481079: Support of HTTP_REFERER in CGIHTTPServer.py | Collin Winter | 2007-03-09 | 1 | -1/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -1/+1 |
| | |||||
* | [Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in ↵ | Andrew M. Kuchling | 2006-12-22 | 1 | -0/+19 |
| | | | | sub-directories | ||||
* | SF patch #1055159 via Titus Brown: Document redirect limitation. | Jeremy Hylton | 2004-12-22 | 1 | -0/+2 |
| | | | | Bug fix candidate. | ||||
* | Patch #727483: Add AUTH_TYPE and REMOTE_USER. | Martin v. Löwis | 2004-08-29 | 1 | -2/+15 |
| | |||||
* | Fix for SF 777848. | Guido van Rossum | 2004-03-20 | 1 | -6/+5 |
| | | | | | | 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. | ||||
* | SF patch 508730 CGIHTTPServer execfile should save cwd | Tim Peters | 2004-03-20 | 1 | -1/+3 |
| | | | | | | | | | | | 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>. | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -7/+7 |
| | | | | From SF patch #852334. | ||||
* | SF bug #770601: CGIHTTPServer and environment variables (bug + solution) | Raymond Hettinger | 2003-07-14 | 1 | -1/+1 |
| | | | | | | | (contributed by Vincent Delft.) The script updated os.environ but failed to pass the whole environment to the child process (the CGI script). | ||||
* | SF bug #430160: CGIHTTPServer.py POST bug using IE | Raymond Hettinger | 2003-06-29 | 1 | -2/+4 |
| | | | | | | Minor improvement to previous bugfix. Eating the remaining characters would lead to an endless loop without a termination test. | ||||
* | Fix bug 427345 [related to IE's additional input on POST request]. | Steve Holden | 2003-01-08 | 1 | -0/+7 |
| | |||||
* | Must catch TypeError from int(length). | Guido van Rossum | 2002-10-17 | 1 | -1/+1 |
| | |||||
* | Typo repair. Please include in any backports. | Guido van Rossum | 2002-08-20 | 1 | -1/+1 |
| | |||||
* | SF patch 595846 by Brett Cannon: Update environ for CGIHTTPServer.py | Guido van Rossum | 2002-08-20 | 1 | -2/+1 |
| | | | | | | | This patch causes CGIHTTPServer to update os.environ regardless of how it tries to handle calls (fork, popen*, etc.). Backport bugfix candidate. | ||||
* | Fix for SF bug 570678 (can't flush read-only file on Mac OS X). | Guido van Rossum | 2002-08-01 | 1 | -1/+0 |
| | |||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -1/+1 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -2/+2 |
| | |||||
* | tighten up except - int() only raises ValueError | Skip Montanaro | 2002-03-23 | 1 | -1/+1 |
| | |||||
* | Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32 | Guido van Rossum | 2002-02-01 | 1 | -4/+18 |
| | | | | | | | This uses os.popen3 (if it exists) to ensure that errors from a non-Python CGI script are logged. Bugfix candidate. | ||||
* | Fix two typos, one noted by Noah Spurrier in SF bug #475166, the | Guido van Rossum | 2001-10-26 | 1 | -2/+2 |
| | | | | | second noted after a second's thought about what the next line should do. :-( | ||||
* | SF patch #467430. | Guido van Rossum | 2001-10-17 | 1 | -3/+4 |
| | | | | | | - replace some log_error() calls with log_message() - flush self.rfile before forking too (hope this works on Windows) | ||||
* | Apply two small changes to the Windows code, according to SF bug | Guido van Rossum | 2001-08-07 | 1 | -2/+2 |
| | | | | | #427345. These are supposed to support binary data and avoid buffering problems on Windows. | ||||
* | Eliminate use of string.whitespace and a string import with it. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | | | | | | Some of the characters (form feed, vertical tab) are not legal continuation characters anyway, so this was wrong as well as annoying. | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -7/+7 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | An honest attempt to make this work on Unix, Windows, and even | Guido van Rossum | 2000-09-19 | 1 | -81/+173 |
| | | | | | | Macintosh (the latter untested). This closes Bug #110839. | ||||
* | Now that StreamRequestHandler defaults rfile to buffered, make it | Guido van Rossum | 2000-09-01 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | os.fork raises AttributeError, not NameError, if fork() isn't | Fred Drake | 1999-10-18 | 1 | -1/+1 |
| | | | | supported. Pointed out by Moshe Zadka <moshez@math.huji.ac.il>. | ||||
* | Based on comments from Paul Prescod: | Fred Drake | 1999-10-16 | 1 | -2/+11 |
| | | | | | If os.fork() doesn't exist, raise SystemError with an explanation at the top of the module. Added a note to the module docstring. | ||||
* | No need to import sys, time, or socket. (Andrew Dalke & kjpylint) | Guido van Rossum | 1999-05-03 | 1 | -3/+0 |
| | |||||
* | Two changes suggested by Jan Pieter Riegel: | Guido van Rossum | 1999-04-28 | 1 | -1/+4 |
| | | | | | | | | (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. | ||||
* | Patch by Jeff Rush: | Guido van Rossum | 1998-12-07 | 1 | -1/+1 |
| | | | | | | | | | 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' | ||||
* | From: conrad@cgl.ucsf.edu (Conrad Huang %CGL) | Guido van Rossum | 1998-05-13 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -122/+122 |
| | |||||
* | Use string.replace instead of regsub.[g]sub. | Guido van Rossum | 1997-12-24 | 1 | -2/+1 |
| | |||||
* | Remove some bogus code that would cause a NameError if a -r option was passed. | Guido van Rossum | 1997-02-19 | 1 | -5/+0 |
| | |||||
* | real test for executable script | Guido van Rossum | 1996-01-25 | 1 | -1/+1 |
| | |||||
* | changed some commas into percent signs | Guido van Rossum | 1995-08-29 | 1 | -4/+4 |
| | |||||
* | Initial revision | Guido van Rossum | 1995-08-04 | 1 | -0/+203 |