diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-15 18:27:07 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-15 18:27:07 +0800 |
commit | 1580f4b09512af6d2497467754c9b7eed6cd441b (patch) | |
tree | a3f42cb513b7a1163082bdb39ee059bb3d73d269 /www/epiphany/files/patch-embed_ephy-embed-utils.c | |
parent | 1a19587ee7b0fb3859e41b32f24b675a148999ac (diff) | |
download | marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar.gz marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar.bz2 marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar.lz marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar.xz marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.tar.zst marcuscom-ports-1580f4b09512af6d2497467754c9b7eed6cd441b.zip |
Fix mailto: [1], execute javascript: [2] instead of viewing it.
The bug that you can't browser ftp:// will get fixed in 2.30 in libsoup Gnome Bug 557777.
Obtained from: Gnome Bug 584537 [1], epi mailing list [2]
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13120 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany/files/patch-embed_ephy-embed-utils.c')
-rw-r--r-- | www/epiphany/files/patch-embed_ephy-embed-utils.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/epiphany/files/patch-embed_ephy-embed-utils.c b/www/epiphany/files/patch-embed_ephy-embed-utils.c new file mode 100644 index 000000000..09de6a981 --- /dev/null +++ b/www/epiphany/files/patch-embed_ephy-embed-utils.c @@ -0,0 +1,10 @@ +--- embed/ephy-embed-utils.c.orig 2009-10-13 15:28:59.000000000 +0200 ++++ embed/ephy-embed-utils.c 2009-10-13 15:29:30.000000000 +0200 +@@ -91,6 +91,7 @@ ephy_embed_utils_address_has_web_scheme + g_str_has_prefix (address, "file:") || + g_str_has_prefix (address, "data:") || + g_str_has_prefix (address, "about:") || ++ g_str_has_prefix (address, "javascript:") || + g_str_has_prefix (address, "gopher:")); + + return has_web_scheme; |