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:55:15 -0600
commit1490f21363722719f9c9c95aa340a95ba72bb178 (patch)
tree3ff0de04036b602fb3f6cf35522a66003066157b
parent5fbe1607b849c4ce49ad76608a09254cc013a217 (diff)
downloadepiphany-1490f21363722719f9c9c95aa340a95ba72bb178.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 7a546a8be..5a20b9e37 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) &&