From d1aa675544ccef0651f0545f772e657603cdf94d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 17 Jun 2023 15:05:03 +0200 Subject: [PATCH] Mitigate possible XSS through `unsafe-inline` script CSP Signed-off-by: Knut Ahlers --- frontend/index.html | 2 +- go.mod | 4 ++-- go.sum | 25 +++++++++++---------- main.go | 54 ++++++++++++++++++++++++++++++++------------- 4 files changed, 55 insertions(+), 30 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 6ccb22a..f229d41 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -32,7 +32,7 @@ OTS - One Time Secrets -