httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16578] - Apache inserts \r's before \n's in the body CGI
Date Thu, 30 Jan 2003 16:47:10 GMT
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=16578>.
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=16578

Apache inserts \r's before \n's in the body CGI





------- Additional Comments From nd@perlig.de  2003-01-30 16:47 -------
Sorry, I tend to label this bug as invalid again, because

- using heuristics for interpreting headers is dangarous, since a single \r may
or may not be a regular part of the header. Again: use native \n characters and
everything is fine.

- Apache (resp. mod_cgi) doesn't touch the content (except for chunked stuff or
custom output filters, of course). So the additional \rs probably come from your
interpreter and/or the underlying I/O-library. Switching STDOUT to binmode after
writing the headers may help.

(leaving reopened for further issues)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message