mirror of
https://github.com/safing/portbase
synced 2025-04-12 05:29:08 +00:00
Allow referrers on same origin
This commit is contained in:
parent
3248926cfb
commit
16d99c76e5
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ func (mh *mainHandler) handle(w http.ResponseWriter, r *http.Request) error {
|
|||
}()
|
||||
|
||||
// Add security headers.
|
||||
w.Header().Set("Referrer-Policy", "no-referrer")
|
||||
w.Header().Set("Referrer-Policy", "same-origin")
|
||||
w.Header().Set("X-Content-Type-Options", "nosniff")
|
||||
w.Header().Set("X-Frame-Options", "deny")
|
||||
w.Header().Set("X-XSS-Protection", "1; mode=block")
|
||||
|
|
Loading…
Add table
Reference in a new issue