Fix unrecognized feature: 'oversized-images'

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
Liviu-Mihail Concioiu 2025-07-28 23:52:15 +02:00
parent 9bf218ed9f
commit 4bbe89a74c
2 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ class Header
*
* @see https://developer.mozilla.org/docs/Web/HTTP/Headers/Permissions-Policy
*/
$headers['Permissions-Policy'] = 'fullscreen=(self), oversized-images=(self), interest-cohort=()';
$headers['Permissions-Policy'] = 'fullscreen=(self), interest-cohort=()';
$headers = array_merge($headers, Core::getNoCacheHeaders());

View File

@ -192,7 +192,7 @@ class HeaderTest extends AbstractTestCase
'X-Content-Type-Options' => 'nosniff',
'X-Permitted-Cross-Domain-Policies' => 'none',
'X-Robots-Tag' => 'noindex, nofollow',
'Permissions-Policy' => 'fullscreen=(self), oversized-images=(self), interest-cohort=()',
'Permissions-Policy' => 'fullscreen=(self), interest-cohort=()',
'Expires' => $date,
'Cache-Control' => 'no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0',
'Pragma' => 'no-cache',