xperseguers / t3ext-fal-protect

This extension protects everything within fileadmin/ based on associated file restrictions.
https://extensions.typo3.org/extension/fal_protect
GNU General Public License v2.0
11 stars 7 forks source link

Dilver css files #34

Closed lochmueller closed 2 years ago

lochmueller commented 2 years ago

I use the extension in an installation with css files in the fileadmin (I know this is not recommended, but it is an old instance). Currently, the mime of the CSS is "text/plain". As result the browser do not handle the CSS right, because it is not "text/css". Should we add the right mime hard coded by extension check?

Regards, Tim

xperseguers commented 2 years ago

It sounds like the actual problem is that file is wrongly identified in FAL itself. You should fix that in the database (sys_file) and see what you miss do that any other CSS file is correctly identified (you can check for new files by uploading one and checking, maybe it’s only because of legacy files and invalid config at some point)

xperseguers commented 2 years ago

taking for granted that problem is thus solved.