From b3f299b858a89ad979e8c23896b90c8dbeaa7faf Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 10 Jun 2022 21:27:25 +0100 Subject: add sandbox to csp --- embed.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embed.cgi b/embed.cgi index 99aa636..3eba44f 100755 --- a/embed.cgi +++ b/embed.cgi @@ -52,7 +52,7 @@ if __name__ == "__main__": p = george[order[pi]] ref = getenv("HTTP_REFERER","the") - print(f"Content-Security-Policy: frame-ancestors {correct_hn} http://{correct_hn};") + print(f"Content-Security-Policy: sandbox; frame-ancestors {correct_hn} http://{correct_hn};") print() print( f""" -- cgit v1.2.3