mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
fix: csp
This commit is contained in:
parent
ac14a2628d
commit
48bb02a0e2
1 changed files with 1 additions and 1 deletions
|
@ -292,4 +292,4 @@ $script_bundles = [];
|
||||||
/* Security headers */
|
/* Security headers */
|
||||||
header('X-Frame-Options: SAMEORIGIN');
|
header('X-Frame-Options: SAMEORIGIN');
|
||||||
header('X-Content-Type-Options: nosniff');
|
header('X-Content-Type-Options: nosniff');
|
||||||
header("Content-Security-Policy: default-src 'self' data: 'unsafe-inline'; img-src " . implode(' ', $site_info['allowed_image_hosts']));
|
header("Content-Security-Policy: default-src 'self' data: 'unsafe-inline'; img-src 'self' data: " . implode(' ', $site_info['allowed_image_hosts']));
|
||||||
|
|
Loading…
Add table
Reference in a new issue