mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
shlwapi: Add a slash to the URL if there is no path component.
This commit is contained in:
parent
d82c456e5f
commit
bc06106468
@ -409,6 +409,8 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized,
|
||||
while(isalnumW(*wk1) || (*wk1 == L'-') || (*wk1 == L'.') || (*wk1 == ':'))
|
||||
*wk2++ = *wk1++;
|
||||
state = 5;
|
||||
if (!*wk1)
|
||||
*wk2++ = slash;
|
||||
break;
|
||||
case 5:
|
||||
if (*wk1 != '/' && *wk1 != '\\') {state = 3; break;}
|
||||
|
Loading…
Reference in New Issue
Block a user