[epiphany/gnome-3-26] Fix download of blob URIs
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-26] Fix download of blob URIs
- Date: Sun, 7 Jan 2018 00:56:51 +0000 (UTC)
commit 75c43671086d9f0d8c25bbf881cd2a74cd62da3d
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Jan 6 18:54:00 2018 -0600
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 files changed, 1 insertions(+), 0 deletions(-)
---
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) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]