[epiphany] Fix download of blob URIs
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix download of blob URIs
- Date: Sun, 7 Jan 2018 00:55:31 +0000 (UTC)
commit 1490f21363722719f9c9c95aa340a95ba72bb178
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 7a546a8..5a20b9e 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]