summaryrefslogtreecommitdiff
path: root/embed.cgi
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-10 21:27:25 +0100
committerubq323 <ubq323@ubq323.website>2022-06-10 21:27:25 +0100
commitb3f299b858a89ad979e8c23896b90c8dbeaa7faf (patch)
treed1e864c0e64938aedb05d5bd8860369b0227485d /embed.cgi
parentcf20241639caeef6a922b5a40ad586304743d201 (diff)
add sandbox to csp
Diffstat (limited to 'embed.cgi')
-rwxr-xr-xembed.cgi2
1 files changed, 1 insertions, 1 deletions
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"""<!DOCTYPE html>