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

[tor-commits] [torbutton/master] Bug 31322: Fix about:tor assertion failure debug builds



commit 2e3a4b9d7b09dba2dede3aa5e89854b1029b73a5
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
Date:   Tue Aug 6 15:47:59 2019 +0200

    Bug 31322: Fix about:tor assertion failure debug builds
    
    Adding a CSP policy to about:tor to address a failed assertion.
---
 chrome/content/aboutTor/aboutTor.xhtml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chrome/content/aboutTor/aboutTor.xhtml b/chrome/content/aboutTor/aboutTor.xhtml
index 0789f851..2b75debc 100644
--- a/chrome/content/aboutTor/aboutTor.xhtml
+++ b/chrome/content/aboutTor/aboutTor.xhtml
@@ -20,6 +20,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml";>
 <head>
+  <meta http-equiv="Content-Security-Policy" content="default-src chrome: resource:; script-src chrome: 'unsafe-inline';" />
   <meta name="viewport" content="width=device-width, initial-scale=1"/>
   <title>&aboutTor.title;</title>
   <link rel="stylesheet" type="text/css" media="all"



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