mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
Use Referrer-Policy instead of <meta name="referrer">
To make securityheaders.io happy. Also fix a typo in the value (https://lists.w3.org/Archives/Public/public-webappsec/2015May/0059.html).
This commit is contained in:
@@ -22,6 +22,7 @@ class AdminerFrames {
|
||||
header("X-Frame-Options: SameOrigin");
|
||||
}
|
||||
header("X-XSS-Protection: 0");
|
||||
header("Referrer-Policy: origin-when-cross-origin");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user