Created
April 23, 2019 18:04
-
-
Save sschroe/963f1d7aa3fc366e155e5ac6bc84cc71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c | |
index 92978dc53f..e9f4afcc63 100644 | |
--- a/dlls/urlmon/uri.c | |
+++ b/dlls/urlmon/uri.c | |
@@ -6418,7 +6418,7 @@ static HRESULT merge_paths(parse_data *data, const WCHAR *base, DWORD base_len, | |
/* If not found, try finding the end of @xxx: */ | |
if(end == base+base_len-1) | |
end = *base == '@' ? memchr(base, ':', base_len) : NULL; | |
- }else { | |
+ }else if (*base != '/'){ | |
/* Find the characters that will be copied over from the base path. */ | |
end = memrchrW(base, '/', base_len); | |
if(!end && data->scheme_type == URL_SCHEME_FILE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment