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

[tor-commits] [pluggable-transports/snowflake-webext] branch main updated: Add CSP to webextension manifest



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

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.

The following commit(s) were added to refs/heads/main by this push:
     new cbc437e  Add CSP to webextension manifest
cbc437e is described below

commit cbc437eaf36c027ea2d34aacef1179160708771c
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
AuthorDate: Tue Apr 11 11:47:08 2023 -0400

    Add CSP to webextension manifest
---
 webext/manifest_base.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/webext/manifest_base.json b/webext/manifest_base.json
index e95025d..1df634c 100644
--- a/webext/manifest_base.json
+++ b/webext/manifest_base.json
@@ -22,7 +22,8 @@
     "default_title": "Snowflake",
     "default_popup": "embed.html"
   },
+  "content_security_policy": "default-src 'self'; connect-src wss://*.freehaven.net/ wss://*.torproject.net https://*.torproject.net:* https://*.freehaven.net:*";,
   "permissions": [
     "storage"
   ]
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits