[Pkg-mozext-commits] [requestpolicy] 81/100: add compatibility rule for about:addons

David Prévot taffit at moszumanska.debian.org
Fri Dec 12 22:57:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit 999ef232fc616e8aa2ac8cd3391c7d56c88e6459
Author: Martin Kimmerle <dev at 256k.de>
Date:   Fri Nov 7 17:56:00 2014 +0100

    add compatibility rule for about:addons
---
 src/components/requestpolicyService.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/components/requestpolicyService.js b/src/components/requestpolicyService.js
index 4911ec7..51a2c37 100644
--- a/src/components/requestpolicyService.js
+++ b/src/components/requestpolicyService.js
@@ -328,6 +328,11 @@ RequestPolicyService.prototype = {
       "https://static-cdn.addons.mozilla.net/",
       appInfo.vendor
     ]);
+    this._compatibilityRules.push([
+      "https://services.addons.mozilla.org/",
+      "https://addons.cdn.mozilla.net/",
+      appInfo.vendor
+    ]);
     // Firefox 4 uses an about:home page that is locally stored but can be
     // the origin for remote requests. See bug #140 for more info.
     this._compatibilityRules.push(["about:home", null, appInfo.vendor]);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list