Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
7ccd7b43
Commit
7ccd7b43
authored
Apr 16, 2021
by
Mario
Browse files
floc off google
parent
f0eceb03
Pipeline
#407242
passed with stage
in 6 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
boot.php
View file @
7ccd7b43
...
...
@@ -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'
]);
}
...
...
Mario
@mario
mentioned in commit
cd760454
·
Apr 20, 2021
mentioned in commit
cd760454
mentioned in commit cd760454a5cdaee591bdd2e0b3e0637799e0094e
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment