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/XX0XX0XXXXXXXXXX+XXXXXXXXXXX+X0XX0X00X0XXXXX0XX0XXXXXX0XXX0XX00XXXXX00X0XX0XXXXXXX/XXXXXX0XXXXXXXXXXXX00XXXXXXXXXXXXX0XXXXXXXXXXX0XXXXXXXXXXXXXXXX00X00XXXXX+XXXXXXXX0XXX0XXXXXXXXXX00XXXXX0XXXXXXXX0XXXXXXXXXXXX0XX0X0XX0X0XXX/0XX0XXXXXXXXXXXXX00X0XX0XX0XXXXXX0XXX0XXXXXXX/0XXXXX0XXXXXXXXXXX+XX0XX0XXXX0XXXXXXXX0X0XX0XXXX/00XXXX+XXX0XX0XXXXXX0XXXXXXX/XX00/XX00XX0XXXXXXXXXXXXXXXXXXXXX00XXXXXX+0XXXXXXXXXXXXXX0XX0X000XXXXX0XXXX00XXXXXX0X+XXXX0XXXXXXX/XX0XX0XXX00XXXX0X+0X0X0XX00XXX0XXXXX00XXXXXXXXXX0+0XXXX0XXXXXXXXXXXXXXXXXXXX0X00XXX0XX0XXXX0XXX0XXXXXXXXXXXXXXXXXXXXXXXXXXXXX0X0XXXX0XX0XXX0XXX0XX0+XXXX0XXX00XXX0XXXX0XXXXXX00XXX0XXXXX0X0XXXXX0X00X0XXXXXXX00XXX00XXX+XXXX0X0XXXX0XXXXXXXXXX0XXXXXXXXXXXXXXXXXXXXX0XXX0/0//XXXXXXX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