http://bugs.winehq.org/show_bug.cgi?id=9723
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2007-09-20 10:53:05 --- Hello,
--- quote --- Looks more like a bug in shlwapi; with native shlwapi.dll the download starts fine --- quote ---
Yes, UrlCanonicalizeA/W() is the problem, it encodes trailing whitespace to escape sequences. For reference see: http://msdn2.microsoft.com/en-us/library/aa384342.aspx Despite what MSDN says about ICU_BROWSER_MODE, trailing whitespaces get removed under windows - regardless if mode flags and/or special characters "?", "#" present/not present. Embedded whitespaces get correctly decoded and encoded if appropriate flags present.
--- snip wine --- trace:wininet:InternetCanonicalizeUrlA "http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e... " 0x57f3d8 0x7c9a9124 92000000 .. trace:wininet:InternetCrackUrlA ("http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e..." 0 0 0x7c9a90a0) --- snip wine ---
Resulting URI contains trailing "%20". This wont work.
Regards