Dominique Leuenberger
2eab2c4e42
Resub, use upstreams committed patch instead of my plain diff. OBS-URL: https://build.opensuse.org/request/show/564433 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=276
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
From 75c43671086d9f0d8c25bbf881cd2a74cd62da3d Mon Sep 17 00:00:00 2001
|
|
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
|
Date: Sat, 6 Jan 2018 18:54:00 -0600
|
|
Subject: 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
|
|
---
|
|
embed/ephy-embed-utils.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
|
|
index db69135..cc7abf9 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) &&
|
|
--
|
|
cgit v0.12
|
|
|