http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d94df
)
Replace '\' with '/' in the URL in HTTP_HttpSendRequestW.
author
Maxime Bellengé
<maxime.bellenge@laposte.net>
Tue, 25 Jan 2005 16:43:17 +0000
(16:43 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 25 Jan 2005 16:43:17 +0000
(16:43 +0000)
dlls/wininet/http.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/http.c
b/dlls/wininet/http.c
index 0887beb6097130ca6b4f4acb0f2c99a280a42467..747390a52fd2d66f9351596f68eab6416baf393e 100644
(file)
--- a/
dlls/wininet/http.c
+++ b/
dlls/wininet/http.c
@@
-1534,6
+1534,11
@@
BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
nLen--;
lpwhr->lpszPath[nLen]='\0';
}
+ /* Replace '\' with '/' */
+ while (nLen>0) {
+ nLen--;
+ if (lpwhr->lpszPath[nLen] == '\\') lpwhr->lpszPath[nLen]='/';
+ }
}
if(CSTR_EQUAL != CompareStringW( LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE,