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>
This commit is contained in:
parent
9ca56d3e97
commit
25184137e8
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue