[Bug 45694] New: WinHttpOpenRequest: unsafe characters are not escaped
https://bugs.winehq.org/show_bug.cgi?id=45694 Bug ID: 45694 Summary: WinHttpOpenRequest: unsafe characters are not escaped Product: Wine Version: 3.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs(a)winehq.org Reporter: ebissonnette(a)genetec.com Distribution: --- WinHttpOpenRequest does not escape unsafe characters in LPCWSTR object. An application therefore fails to issue a valid HTTP request when it passes a path that contains unsafe characters, such as a space, in the query part of the URL. For example : WinHttpOpenRequest(hConnect, NULL, "/search.cgi?word=Some example", NULL, NULL, NULL, 0); The resulting HTTP request contains the unsafe character. It should have been converted to "/search.cgi?word=Some%20example" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45694 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- Created attachment 62123 --> https://bugs.winehq.org/attachment.cgi?id=62123 patch Needs some more testing but this should fix it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45694 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |498042e0eeac12d6ee99a1cbada | |2ef2bd7b05131 Resolution|--- |FIXED --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- Should be fixed by 498042e0eeac12d6ee99a1cbada2ef2bd7b05131. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45694 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.15. -- 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