From d1d1da35ca3a55689de3e16a033f31275e3ff844 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 29 May 2009 23:34:25 +0200 Subject: [PATCH] wininet: Always set path in HttpOpenRequest. --- dlls/wininet/http.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index bef00e8a068..f4b963d980c 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2210,6 +2210,10 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs, ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(lpszObjectName),rc); strcpyW(lpwhr->lpszPath,lpszObjectName); } + }else { + static const WCHAR slashW[] = {'/',0}; + + lpwhr->lpszPath = WININET_strdupW(slashW); } if (lpszReferrer && *lpszReferrer) -- 2.11.4.GIT