Module: wine Branch: master Commit: 25184137e8fa892a7ee349f6880cf9ceb31cd648 URL: https://source.winehq.org/git/wine.git/?a=commit;h=25184137e8fa892a7ee349f68...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Oct 27 15:35:51 2021 +0200
mshtml: Only treat resource://gre(-resources)/ as special.
Instead of everything starting with resource:, some application use the resource: prefix for their internal resources, and we fail to load them.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46213 Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/nsio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index abf05aaa41b..f921acf4dce 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -3799,7 +3799,7 @@ static nsresult NSAPI nsIOServiceHook_GetProtocolHandler(nsIIOServiceHook *iface
static BOOL is_gecko_special_uri(const char *spec) { - static const char *special_schemes[] = {"chrome:", "data:", "jar:", "moz-safe-about", "resource:", "javascript:", "wyciwyg:"}; + static const char *special_schemes[] = {"chrome:", "data:", "jar:", "moz-safe-about", "resource://gre/", "resource://gre-resources/", "javascript:", "wyciwyg:"}; unsigned int i;
for(i=0; i < ARRAY_SIZE(special_schemes); i++) {