mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-24 20:36:24 +02:00
run goimports
This commit is contained in:
parent
5bb32547c9
commit
3999c5bd80
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue