aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-utils.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-24 20:44:57 +0800
committerXan Lopez <xan@igalia.com>2012-01-24 20:44:57 +0800
commit5efccdb2132bbc33ac4907db2c1cdfc638eeac9f (patch)
tree44d48235791f5c2b21d919592a26e95eb23afcde /embed/ephy-embed-utils.c
parent24313f4641d13a535be726330825dae09c16d0b0 (diff)
downloadgsoc2013-epiphany-5efccdb2132bbc33ac4907db2c1cdfc638eeac9f.tar.gz
gsoc2013-epiphany-5efccdb2132bbc33ac4907db2c1cdfc638eeac9f.tar.zst
gsoc2013-epiphany-5efccdb2132bbc33ac4907db2c1cdfc638eeac9f.zip
ephy-embed-utils: consider 'ephy-about' as a web scheme
Otherwise we'll fail to open about: pages in our policy decision mechanism.
Diffstat (limited to 'embed/ephy-embed-utils.c')
-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 5865b5843..5bd5ea79d 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -97,6 +97,7 @@ ephy_embed_utils_address_has_web_scheme (const char *address)
g_ascii_strncasecmp (address, "javascript", colonpos) &&
g_ascii_strncasecmp (address, "data", colonpos) &&
g_ascii_strncasecmp (address, "about", colonpos) &&
+ g_ascii_strncasecmp (address, "ephy-about", colonpos) &&
g_ascii_strncasecmp (address, "gopher", colonpos));
return has_web_scheme;