Commit 7ccd7b43 authored by Mario's avatar Mario
Browse files

floc off google

parent f0eceb03
Pipeline #407242 passed with stage
in 6 minutes and 51 seconds
......@@ -2460,6 +2460,14 @@ function construct_page() {
header("X-Content-Type-Options: nosniff");
}
if (isset(App::$config['system']['perm_policy_header']) && App::$config['system']['perm_policy_header']) {
header("Permissions-Policy: " . App::$config['system']['perm_policy_header']);
}
else {
// opt-out this site from federated browser surveillance
header("Permissions-Policy: interest-cohort=()");
}
if(isset(App::$config['system']['public_key_pins'])) {
header("Public-Key-Pins: " . App::$config['system']['public_key_pins']);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment