Commit d1d1da35 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Always set path in HttpOpenRequest.

parent 83170893
...@@ -2210,6 +2210,10 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs, ...@@ -2210,6 +2210,10 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(lpszObjectName),rc); ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(lpszObjectName),rc);
strcpyW(lpwhr->lpszPath,lpszObjectName); strcpyW(lpwhr->lpszPath,lpszObjectName);
} }
}else {
static const WCHAR slashW[] = {'/',0};
lpwhr->lpszPath = WININET_strdupW(slashW);
} }
if (lpszReferrer && *lpszReferrer) if (lpszReferrer && *lpszReferrer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment