In School class I showed how to customize a template. If you want to upload or rename a min.js or a min.css file to the template manager it's not allowed.
Allow .min. files in the template manager
Labels |
Added:
No Code Attached Yet
|
So I remembered what the security issue was and found the code that deals with it.
The good news is that code does not prevent .min. and I have verified that I can upload both a min.js and a min.css file
I can't rename a template.min.css to style.min.css. I mean that's a simple wish to something and could be frustrating if it's not possible. It would be really nice if it's possible.
if the option shown in the screenshot is acceptable it is a 2 second pr
Means I can upload a min.js but still not create? It would be at least a part of the solution. Creation would be appreciated too when they do not use an IDE in the first moment :-)
creating is a bit harder as the regex is more comples but i will take a look
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-18 08:51:50 |
Closed_By | ⇒ | richard67 |
For reference the original reason to prevent the upload of ..* filenames was to address a security issue. I have no idea if that is still relevant but it explains why it is currently prevented