mshtml: Treat "data:" as Gecko special URI scheme
Joachim Priesner
joachim.priesner at web.de
Mon Sep 28 08:45:20 CDT 2015
This enables loading of inline content specified as data: URI, such as
background images.
Signed-off-by: Joachim Priesner <joachim.priesner at web.de>
---
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 a661c4d..e9430df 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -3545,7 +3545,7 @@ static nsresult NSAPI nsIOService_GetProtocolFlags(nsIIOService *iface, const ch
static BOOL is_gecko_special_uri(const char *spec)
{
- static const char *special_schemes[] = {"chrome:", "jar:", "moz-safe-about", "resource:", "javascript:", "wyciwyg:"};
+ static const char *special_schemes[] = {"chrome:", "data:", "jar:", "moz-safe-about", "resource:", "javascript:", "wyciwyg:"};
unsigned int i;
for(i=0; i < sizeof(special_schemes)/sizeof(*special_schemes); i++) {
--
2.1.4
More information about the wine-patches
mailing list