[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/maint-1.9.6] fixup! Bug 21396: Allow leaking of resource/chrome URIs



commit bcbef88add4cdb4fe42c2827c8fe3e04c045a002
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Thu Mar 2 11:28:13 2017 +0000

    fixup! Bug 21396: Allow leaking of resource/chrome URIs
---
 src/components/content-policy.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/components/content-policy.js b/src/components/content-policy.js
index b11c4e7..096827b 100644
--- a/src/components/content-policy.js
+++ b/src/components/content-policy.js
@@ -17,9 +17,10 @@ let { bindPrefAndInit } =
 
 function ContentPolicy() {
   this.uriFingerprinting = null;
+  let that = this;
   bindPrefAndInit("extensions.torbutton.resource_and_chrome_uri_fingerprinting",
     function (enabled) {
-      this.uriFingerprinting = enabled;
+      that.uriFingerprinting = enabled;
     });
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits