summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-01-06 18:54:00 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-01-06 18:56:39 -0600
commit75c43671086d9f0d8c25bbf881cd2a74cd62da3d (patch)
tree7ff0a62c96434653e8d5bf5be5b592e8be0e7fb8
parentee0899693c41bf73d2156b201588a314135fca62 (diff)
downloadepiphany-75c43671086d9f0d8c25bbf881cd2a74cd62da3d.tar.gz
Fix download of blob URIs
Epiphany doesn't recognize blob as a web scheme, causing it to try opening it in an external URI handler in its policy decision callback... doesn't work. https://bugzilla.gnome.org/show_bug.cgi?id=788576
-rw-r--r--embed/ephy-embed-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index db6913503..cc7abf923 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -126,6 +126,7 @@ ephy_embed_utils_address_has_web_scheme (const char *address)
g_ascii_strncasecmp (address, "file", colonpos) &&
g_ascii_strncasecmp (address, "javascript", colonpos) &&
g_ascii_strncasecmp (address, "data", colonpos) &&
+ g_ascii_strncasecmp (address, "blob", colonpos) &&
g_ascii_strncasecmp (address, "about", colonpos) &&
g_ascii_strncasecmp (address, "ephy-about", colonpos) &&
g_ascii_strncasecmp (address, "gopher", colonpos) &&