[Patches] [ python-Patches-654910 ] Fix bug in IE/CGI [bug 427345]

noreply@sourceforge.net noreply@sourceforge.net
Mon, 16 Dec 2002 15:24:27 -0800


Patches item #654910, was opened at 2002-12-16 18:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=654910&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 4
Submitted By: Steve Holden (holdenweb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix bug in IE/CGI [bug 427345]

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=654910&group_id=5470