mirror of
https://github.com/vrana/adminer.git
synced 2025-12-27 02:40:46 +01:00
Add nosniff header
This commit is contained in:
@@ -22,6 +22,7 @@ class AdminerFrames {
|
||||
header("X-Frame-Options: SameOrigin");
|
||||
}
|
||||
header("X-XSS-Protection: 0");
|
||||
header("X-Content-Type-Options: nosniff");
|
||||
header("Referrer-Policy: origin-when-cross-origin");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user