wininet: Always set path in HttpOpenRequest.

This commit is contained in:
Jacek Caban 2009-05-29 23:34:25 +02:00 committed by Alexandre Julliard
parent 83170893ae
commit d1d1da35ca
1 changed files with 4 additions and 0 deletions

View File

@ -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)