[Bug 9723] Fileplanet Comrade installer fails to download a file

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 20 10:53:05 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9723


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #4 from Anastasius Focht <focht at 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-bf8203e74006/dotnetfx.exe
" 0x57f3d8 0x7c9a9124 92000000
..
trace:wininet:InternetCrackUrlA
("http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe%20"
0 0 0x7c9a90a0)
--- snip wine ---

Resulting URI contains trailing "%20". This wont work.

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list