Commit a3068d7b authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

mshtml: Call UrlUnescapeW() with URL_UNESCAPE_AS_UTF8 in is_gecko_path().

This fixes an issue when the path includes non-ASCII characters.
parent 9cef3348
...@@ -1297,7 +1297,7 @@ BOOL is_gecko_path(const char *path) ...@@ -1297,7 +1297,7 @@ BOOL is_gecko_path(const char *path)
*ptr = '/'; *ptr = '/';
} }
UrlUnescapeW(buf, NULL, NULL, URL_UNESCAPE_INPLACE); UrlUnescapeW(buf, NULL, NULL, URL_UNESCAPE_INPLACE | URL_UNESCAPE_AS_UTF8);
buf[gecko_path_len] = 0; buf[gecko_path_len] = 0;
ret = !wcsicmp(buf, gecko_path); ret = !wcsicmp(buf, gecko_path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment