https://bugs.winehq.org/show_bug.cgi?id=42465
Bug ID: 42465 Summary: winhttp set_cookies() violates RFC6265 string comparison rules Product: Wine Version: 2.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: idfred@gmail.com Distribution: ---
For example, RFC6265 section 5.2.4 states:
If the attribute-name case-insensitively matches the string "Path", the user agent MUST process the cookie-av as follows.
But set_cookies() uses string "path" and performs case-sensitive comparison. Same stuff with section 5.2.3 and string "domain".
This issue breaks cookie exchange with certain HTTP servers.
Probably there are other similar issues in Wine since HTTP string processing should be case-insensitive in most cases. And most server implementations use Camel-Case strings.
This issue also affects Wine versions prior to 2.0.
https://bugs.winehq.org/show_bug.cgi?id=42465
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |be785746324e4bec0a35c0ce5ef | |132b2478bfd0d Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Fixed with be785746324e4bec0a35c0ce5ef132b2478bfd0d.
https://bugs.winehq.org/show_bug.cgi?id=42465
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.3.
https://bugs.winehq.org/show_bug.cgi?id=42465
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42465
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.