DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19339>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19339

stdin on CGI opened in text mode

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Critical
           Priority|Other                       |High



------- Additional Comments From [EMAIL PROTECTED]  2003-04-26 03:49 -------
I've changed the priority to high. There is no real working around on the cgi 
side. The only work around is on the server. The cgi-bin stdin (VC++ 5.0) is 
replacing 0x0D 0x0A sequences with 0x0A only. The only work around is to byte 
stuff the entire data stream being sent to the client during a form upload of 
type multipart/form-data but use the original CONTENT_LENGTH. The server needs 
to look at the CONTENT_TYPE environment variable and if it is multipart/form-
data convert all 0x0D 0x0A sequences to 0x0D 0x0D 0x0A. A configuration flag 
will need to be added to turn this behaviour on and off as different compilers 
may read stdin in binary vs text mode.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to