Project

General

Profile

Actions

Task #97764

closed

include `avif` within `.htaccess`

Added by Marcus Förster almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2022-06-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

--- typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/root-htaccess
+++ /tmp/htaccess
@ -259,7 +216,7 @ # Send the CORS header for images when browsers request it.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
- <FilesMatch "\.(bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$">
+ <FilesMatch "\.(avifs?|bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$">
@ -377,7 +475,7 @
<IfModule mod_headers.c> # Force IE to render pages in the highest available mode
Header set X-UA-Compatible "IE=edge"
- <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff2?|xml|xpi)$">
+ <FilesMatch "\.(appcache|avifs?|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff2?|xml|xpi)$">

Actions

Also available in: Atom PDF