[RESENT] Escape special characters
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Sun Jul 10 10:06:51 CDT 2005
Changelog:
wine/dlls/urlmon/umon.c: URLMonikerImpl_BindToStorage()
Escape special characters
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.52
diff -u -r1.52 umon.c
--- wine/dlls/urlmon/umon.c 5 May 2005 09:50:46 -0000 1.52
+++ wine/dlls/urlmon/umon.c 22 May 2005 11:00:54 -0000
@@ -505,7 +505,7 @@
memset(&url, 0, sizeof(url));
url.dwStructSize = sizeof(url);
url.dwSchemeLength = url.dwHostNameLength = url.dwUrlPathLength = url.dwUserNameLength = url.dwPasswordLength = 1;
- InternetCrackUrlW(urlcopy, 0, 0, &url);
+ InternetCrackUrlW(urlcopy, 0, ICU_ESCAPE, &url);
host = HeapAlloc(GetProcessHeap(), 0, (url.dwHostNameLength + 1) * sizeof(WCHAR));
memcpy(host, url.lpszHostName, url.dwHostNameLength * sizeof(WCHAR));
host[url.dwHostNameLength] = '\0';
More information about the wine-patches
mailing list