From bc005b148d601f284de47d2d0c49fb6d5482f2a1 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 10 Jul 2005 17:47:03 +0000 Subject: [PATCH] URLMonikerImpl_BindToStorage: Escape special characters. --- dlls/urlmon/umon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c index a6bf5fe4b63..56828d7fbe9 100644 --- a/dlls/urlmon/umon.c +++ b/dlls/urlmon/umon.c @@ -636,7 +636,7 @@ static HRESULT WINAPI URLMonikerImpl_BindToStorage(IMoniker* iface, 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'; -- 2.11.4.GIT