[Bug 17914] Using \n rather then \r\n breaks HTTP RFC with HTTP_AddRequestHeadersW

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 26 02:53:30 CDT 2009


--- Comment #7 from Yann Droneaud <yann at droneaud.fr>  2009-05-26 02:53:29 ---
Created an attachment (id=21321)
 --> (http://bugs.winehq.org/attachment.cgi?id=21321)
Call to HttpSendRequest() before patch

I have a similar problem with another application where it pass
"application/x-www-form-urlencoded\n\nContent-Length: 328\n" as additionnal
headers in HttpSendRequest(). 
Requests built with those headers are misinterpreted by HTTP server, eg. the
\n\n sequence is seen as end of header and all following headers are parts of
the content.

Attached the WINEDEBUG log for the application.
To come: same log after the patch, and two test case.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list