http://bugs.winehq.org/show_bug.cgi?id=26377
Summary: [WinInet] Cookies Not Set Product: Wine Version: unspecified Platform: x86 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: Techie7@Yandex.com
Certain Cookies are not getting set in WINE (using WinInet). Specific example is attached.
Possible triggers: Cookie value length (1496 bytes)
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #1 from Techie7 Techie7@Yandex.com 2011-03-10 18:47:04 CST --- Created an attachment (id=33593) --> (http://bugs.winehq.org/attachment.cgi?id=33593) Missing Cookie Example
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2011-03-10 19:26:49 CST --- Please attach a +wininet trace. How do we reproduce?
http://bugs.winehq.org/show_bug.cgi?id=26377
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |other
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-11 07:05:26 CST --- Wine version?
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #4 from Techie7 Techie7@Yandex.com 2011-03-27 15:24:02 CDT --- Juan Lang & Dmitry Timoshkov: Thanks for responding!
Wine Version 1.2.2. However, the issue has been confirmed to occur in both Wine and CrossOver on a wide of range of installations.
Could someone suggest the correct trace command line -- the following does not appear to produce the WinInet log:
WINEDEBUG=+wininet wine AppName.exe >TraceLog.txt 2>&1
A test case application (which reproduces the bug) is now available, but can only be sent privately.
A new possible factor may have to do with the fact that HTTPS is being used (problem doesn't seem to occur under HTTP).
http://bugs.winehq.org/show_bug.cgi?id=26377
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.2.2
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-28 00:45:40 CDT --- Please retest with a more recent Wine version.
http://bugs.winehq.org/show_bug.cgi?id=26377
Techie7 Techie7@Yandex.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.2.2 |1.2.3
--- Comment #6 from Techie7 Techie7@Yandex.com 2011-04-21 00:46:14 CDT --- Re-tested under Wine V1.2.3 -- no difference. The issue also affects CrossOver (incl. its most recent versions).
http://bugs.winehq.org/show_bug.cgi?id=26377
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.2.3 |1.2.2
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2011-04-21 01:59:10 CDT --- Adding a comment is enough. Please test with 1.3.18
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #8 from Techie7 Techie7@Yandex.com 2011-05-06 21:10:06 CDT --- Created an attachment (id=34518) --> (http://bugs.winehq.org/attachment.cgi?id=34518) WinInet Trace (Wine 1.3.19)
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #9 from Techie7 Techie7@Yandex.com 2011-05-06 21:11:53 CDT --- (In reply to comment #7)
Adding a comment is enough. Please test with 1.3.18
Re-Tested using 1.3.19 (WinInet Trace is attached in #8).
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2011-05-31 15:02:49 CDT --- I can't see where the failure is in your log: cookies appear to be getting set. Please describe how to reproduce, or at least to understand how the bug appears.
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #11 from Techie7 Techie7@Yandex.com 2011-05-31 16:10:31 CDT --- (In reply to comment #10)
I can't see where the failure is in your log: cookies appear to be getting set. Please describe how to reproduce, or at least to understand how the bug appears.
The server sets a total of 4 cookies:
======================================================================== 1) Cookie1 [Line #1114] trace:wininet:HTTP_GetResponseHeaders got line "Set-cookie: Cookie1=0XXXXX0XXXXX0XXXXXXXXXXXXXXX0X0X!0000000000!-0000000000; domain=subdomain.domain.co.cc; path=/", now interpreting
2) Cookie2 [Line #1957] trace:wininet:HTTP_GetResponseHeaders got line "Set-cookie: Cookie2=XXXXXX_0000000000:X:0:0:X; domain=domain.co.cc; expires=Monday, 03-May-2021 10:32:43 GMT; path=/", now interpreting
3) Cookie3 [Line #1962] trace:wininet:HTTP_GetResponseHeaders got line "Set-cookie: Cookie3=X0X+X0XX00XXX00XX0X+XXXXX0XXXXXXX0XXXXXXXXX0XXXXX0XXXX0+XXXXX0X0XXXXXXX0XXXX0XXXXXXXXXXXXXXXX/0XXXXX/XX0X0X=; domain=domain.co.cc; path=/", now interpreting
4) Cookie4 [Line #1967] trace:wininet:HTTP_GetResponseHeaders got line "Set-cookie: Cookie4=X0X+X0XX00XXX00XX0X+XXXXXXXXX0XXXXXXXXXXXXX0XXXXXXXX0X/XXXXXX/XX0XXXXX00X0XX0XX/0X/XX0XX0XXXXXXXXXX+XXXXXXXXXXX+X0XX0X00X0XXXXX0XX0XXXXXX0XXX0XX00XXXXX00X0XX0XXXXXXX/XXXXXX0XXXXXXXXXXXX00XXXXXXXXXXXXX0XXXXXXXXXXX0XXXXXXXXXXXXXXXX00X00XXXXX+XXXXXXXX0XXX0XXXXXXXXXX00XXXXX0XXXXXXXX0"..., now interpreting ========================================================================
However, [InternetGetCookieW] (on WINE), Line #2264 only returns Cookie1, Cookie2, Cookie3. Note that Cookie4 is missing:
[Line #2264] trace:wininet:InternetGetCookieW Returning 206 (from 2 domains): L"Cookie1=0XXXXX0XXXXX0XXXXXXXXXXXXXXX0X0X!0000000000!-0000000000; Cookie2=XXXXXX_0000000000:X:0:0:X; Cookie3=X0X+X0XX00XXX00XX0X+XXXXX0XXXXXXX0XXXXXXXXX0XXXXX0XXXX0+XXXXX0X0XXXXXXX0XXXX0XXXXXXXXXXXXXXXX/0XXXXX/XX0X0X="
For more details see also the 1st attachment: http://bugs.winehq.org/attachment.cgi?id=33593
The un-truncated server response header for setting Cookie4 is:
"Set-cookie: Cookie4=X0X+X0XX00XXX00XX0X+XXXXXXXXX0XXXXXXXXXXXXX0XXXXXXXX0X/XXXXXX/XX0XXXXX00X0XX0XX/0X/XX0XX0XXXXXXXX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X00XX0XXXXXXX00XXXXXXXXXXX0XXXXXXXXX000XX0XX0XXXX0X0XX0XXXXXXXXXXXXX/0XXXXXX0XX0XXXXXXXXXX0XXXXXX00XX0XXXXX0XXXXXXXXXXXXXXX0XX/XXXXX+XXX0XX/XXXXXXXXX0XXXX0XXX/0X0XXXXXXXXXXXXXXXXXX0XXXXXX0XX+XX0XXX0XXXXX00X0X0XXX0X0XXXXXXXXXXXXXXXXXX0XX0XX0XXXXXXX0XX0XXXXX0XXXXX+XXXXXXXXXXX0XXXXXXXXXXXXXXXXXXXXXX0X/XXXX0X/XXXXXXXXXXXXXXXXXXXXXX0XXXX0XXXXXXX==; domain=domain.co.cc; path=/"
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #12 from Hans Leidekker hans@meelstraat.net 2011-06-21 00:35:14 CDT --- The Cookie4 line in the server response seems to have a leading newline.
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #13 from Techie7 Techie7@Yandex.com 2011-06-21 08:21:06 CDT --- (In reply to comment #12)
The Cookie4 line in the server response seems to have a leading newline.
There are no leading newline characters in the server response -- please see the original attachments for accurate formatting.
http://bugs.winehq.org/show_bug.cgi?id=26377
Joaquín Tumas j.tumas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |j.tumas@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=26377
--- Comment #14 from Austin English austinenglish@gmail.com 2013-11-13 16:50:22 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=26377
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #15 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=26377
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Austin English austinenglish@gmail.com --- Closing.