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.

classification
Title: Fix bug in IE/CGI [bug 427345]
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: holdenweb Nosy List: aimacintyre, gvanrossum, holdenweb, loewis, nnorwitz
Priority: low Keywords: patch

Created on 2002-12-16 23:24 by holdenweb, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch001.txt holdenweb, 2002-12-17 07:59 patche CGIHTTPServer.py for IE POST bug
Messages (7)
msg42008 - (view) Author: Steve Holden (holdenweb) * (Python committer) Date: 2002-12-16 23:24
This patch fixes Unix (have_fork) and Windows 
(have_popen2 or have_popen3) CGI scripts to cope with 
Internet Explorer's "mozilla emulation", whereby it 
appears to send a couple extra bytes [CRLF?] at the 
end of requests when KeepAlive isn't in use.

While the bug is believed to only affect requests using 
method POST, the code is written to ignore extra bytes 
in any request triggering a CGI call on these platforms. It 
wasn't obvious how to apply similar fixes to the 
third, "other platform" branch.

The whole *HTTPServer family appears to need some 
sort of unified rewrite, but it's difficult to see how that will 
happen.
msg42009 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2002-12-17 06:47
Logged In: YES 
user_id=250749

The patch file is missing.
msg42010 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-01-08 15:18
Logged In: YES 
user_id=6380

Looks good to me. Please check this in...

I think it's safe to check this into the 2.2 maintenance
branch as well.
msg42011 - (view) Author: Steve Holden (holdenweb) * (Python committer) Date: 2003-01-08 19:00
Logged In: YES 
user_id=88157

Comitted today after review by MvL.

How do I check it into the maintenance branch?
msg42012 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-08 19:35
Logged In: YES 
user_id=33168

You need to check out a version on the branch:

    cvs upd -r release22-maint CGIHTTPServer.py
 
Then merge in your last changes:

    cvs upd -j 1.29 -j 1.30 CGIHTTPServer.py

Then you should verify the changes were made correctly:

    cvs diff CGIHTTPServer.py

Then checkin as you would normally:

    cvs commit CGIHTTPServer.py
msg42013 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-01-09 10:41
Logged In: YES 
user_id=21627

I usually replace the cvs join with applying the original
patch the the branch sandbox.
msg42014 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-09 14:07
Logged In: YES 
user_id=33168

Closing this patch, since it was apparantly checked in as
1.30 and 1.20.8.4.
History
Date User Action Args
2022-04-10 16:06:02adminsetgithub: 37621
2002-12-16 23:24:27holdenwebcreate