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

gk at torproject.org gk at torproject.org
Wed Aug 28 07:01:42 UTC 2019


commit 2e3a4b9d7b09dba2dede3aa5e89854b1029b73a5
Author: Alex Catarineu <acat at torproject.org>
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"





More information about the tor-commits mailing list