[Bug 29093] New: Posting data with winhttp fails
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(a)winehq.org ReportedBy: rosslagerwall(a)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). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 Ross Lagerwall <rosslagerwall(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Platform|x86 |x86-64 See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=29004 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.32 --- Comment #1 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2011-11-15 03:58:00 CST --- Assuming you are using Wine git. Next time please fill the Version field above with what 'wine --version' reports. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 --- Comment #2 from Ross Lagerwall <rosslagerwall(a)gmail.com> 2011-11-15 03:59:59 CST --- OK thanks, I wasn't sure what to put when using wine-git. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 ocean04(a)suomi24.fi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ocean04(a)suomi24.fi --- Comment #3 from ocean04(a)suomi24.fi 2011-11-15 04:15:17 CST --- I can confirm, it doesn't work here either (using string). There is a way to fix your code by converting that postdata string to variant / array. (in case this bug is not fixed soon) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> 2011-11-15 04:40:35 CST --- Created attachment 37500 --> http://bugs.winehq.org/attachment.cgi?id=37500 winhttp: Clean up properly in request_send. Try this patch. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 --- Comment #5 from Ross Lagerwall <rosslagerwall(a)gmail.com> 2011-11-15 05:59:38 CST --- Thanks, that fixes it. Cheers -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |adys.wh(a)gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2621e98d04b91ce21d36ac880ac | |e323bd3c6360f Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2011-11-16 12:54:17 CST --- (In reply to comment #5)
Thanks, that fixes it.
Cheers
http://source.winehq.org/git/wine.git/commitdiff/2621e98d04b91ce21d36ac880ac... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29093 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2011-11-18 13:05:27 CST --- Closing bugs fixed in 1.3.33. -- 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.
participants (1)
-
wine-bugs@winehq.org