From 80f0dd862e441a7f23edaa0f8b2cb95655db056d Mon Sep 17 00:00:00 2001 From: John Foerch Date: Fri, 16 Sep 2011 02:31:57 -0400 Subject: [PATCH] content-policy: whitelist mailto: urls --- components/content-policy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/content-policy.js b/components/content-policy.js index 1aab836..9ea4f02 100644 --- a/components/content-policy.js +++ b/components/content-policy.js @@ -17,7 +17,8 @@ function content_policy () { .wrappedJSObject; this.conkeror.define_hook("content_policy_hook", "RUN_HOOK_UNTIL_SUCCESS"); this.conkeror.define_variable("content_policy_scheme_whitelist", - { about: true, chrome: true, data: true, javascript: true, "moz-icon": true }, + { about: true, chrome: true, data: true, javascript: true, + mailto: true, "moz-icon": true }, "Requests whose scheme is in this structure (with a true value) "+ "will be whitelisted before calling content_policy_hook."); this.conkeror.content_policy_listener = this; -- 2.11.4.GIT