https://bugs.winehq.org/show_bug.cgi?id=38517
Bug ID: 38517 Summary: Winhttprequest doesn't keep user logged in Product: Wine Version: 1.7.42 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: ocean04@suomi24.fi Distribution: ---
Created attachment 51387 --> https://bugs.winehq.org/attachment.cgi?id=51387 Test app + Delphi source
None of websites I have tested works.
Run sample and click button. It should give "Test passed!"
Workaround winetricks winhttp
https://bugs.winehq.org/show_bug.cgi?id=38517
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=38517
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Looks like there are at least two bugs here. A wireshark trace reveals that the test app sends the second request right after the 302 response. This probably means that the request object has automatic redirects turned of by default.
The second problem is that the cookie set by the redirect response is not included in the second request.
https://bugs.winehq.org/show_bug.cgi?id=38517
--- Comment #2 from ocean04@suomi24.fi --- Created attachment 51402 --> https://bugs.winehq.org/attachment.cgi?id=51402 php files
After 38525 patch it redirects correctly to test.php. But user is not logged in.
Test app now sends separate GET request to test.php to verify user is still logged in. And reports failure if it's not.
(using MSXML2.XMLHTTP.6.0 instead, test app works as expected)
Attached also php files, system is quite simple.
https://bugs.winehq.org/show_bug.cgi?id=38517
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- This should be fixed by 7e121e48714d376bbbd37dc5d1e9b085dcdcce09.
https://bugs.winehq.org/show_bug.cgi?id=38517
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7e121e48714d376bbbd37dc5d1e | |9b085dcdcce09 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from ocean04@suomi24.fi --- Yes it works, thanks!
https://bugs.winehq.org/show_bug.cgi?id=38517
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.46.