Module: wine Branch: master Commit: d1d1da35ca3a55689de3e16a033f31275e3ff844 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1d1da35ca3a55689de3e16a03...
Author: Jacek Caban jacek@codeweavers.com Date: Fri May 29 23:34:25 2009 +0200
wininet: Always set path in HttpOpenRequest.
---
dlls/wininet/http.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index bef00e8..f4b963d 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)