http://bugs.winehq.org/show_bug.cgi?id=29093
Bug #: 29093 Summary: Posting data with winhttp fails Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp AssignedTo: wine-bugs@winehq.org ReportedBy: rosslagerwall@gmail.com Classification: Unclassified
Created attachment 37498 --> http://bugs.winehq.org/attachment.cgi?id=37498 test program
Now that http://bugs.winehq.org/show_bug.cgi?id=29004 is complete, the problem is that the actual data that is sent during POST for winhttp is incorrect.
Attached is a test program. It posts some sample data to a webpage which dumps the $_POST variable.
On windows and native winhttp, the output shown is the as the sample data. With the builtin winhttp, a 403 forbidden page is shown and tcpdump and the web server error log show that it tried to post binary data (which is obviously incorrect).