From 3999c5bd806ce39225ee9df6c13d8e9adf08c3ca Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sun, 24 Jan 2021 13:44:39 -0800 Subject: [PATCH] run goimports --- imageproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageproxy.go b/imageproxy.go index d738b76..0a363b8 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -257,7 +257,7 @@ func (p *Proxy) serveImage(w http.ResponseWriter, r *http.Request) { // Disable Content-Type sniffing w.Header().Set("X-Content-Type-Options", "nosniff") - + // Block potential XSS attacks especially in legacy browsers which do not support CSP w.Header().Set("X-XSS-Protection", "1; mode=block")