http://bugs.winehq.org/show_bug.cgi?id=18779
Summary: HttpAddRequestHeaders() doesn't handle whitespace correctly Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: yann@droneaud.fr
Created an attachment (id=21550) --> (http://bugs.winehq.org/attachment.cgi?id=21550) Tests case for whitespace in HTTP headers
After some research for bug #17914 it seems that HttpAddRequestHeaders() doesn't parse correctly headers regarding to whitespace. Some whitespaces are not removed.
Additionnaly, I found that wininet.dll from IE8 doesn't allow retrieving some headers with HttpQueryInfo() if they have whitespace in them, while wine does.
Here is a patch which add some tests for whitespace. Thoses new test works with wininet.dll from IE8.