Feature #37572
closedFile upload in BE: Rename file to lower case automatically
0%
Description
Replacing special characters and spaces in the file name is already done automatically after uploading a file in the filelist module (don't know about DAM).
Why not also automatically rename file names and file extensions to lowercase?
Updated by Chris topher over 12 years ago
- Status changed from New to Needs Feedback
- TYPO3 Version changed from 4.5 to 6.0
Spaces are replaced, because I think they are not allowed in URLs and at least Internet Explorer has notorious problems with them. Umlauts are not necessarily changed. For better compatibility with browsers and file systems they only are onverted when $TYPO3_CONF_VARS['SYS']['UTF8filesystem'] is not set to "1". Else they are kept.
But why should file names be forced to be all lowercase? I don't see a reason to do that.
Updated by Florian Seirer over 12 years ago
It was kind of a workaround for #37575.
Also, I was doing some work to identify download links with CSS, and having to consider every possible notation of file extensions was a little annoying. But that's just me, maybe.
Still, you could make this optional (Install tool?).
Updated by Alexander Opitz about 11 years ago
- Category set to File Abstraction Layer (FAL)
Maybe something could be integrated in the FAL
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to New
Updated by Philipp Gampe about 11 years ago
This is possible with an own FAL extension that makes use of the signals emmited during the procession of a file. See FAL_profile for an example:
https://github.com/ohader/fal_profile/blob/master/Classes/Bootstrap.php
Updated by Steffen Ritter about 11 years ago
- Status changed from New to Rejected
I'm sorry, but rewriting everything to lower case does not make sense
Furthermore, as Philip pointed out, you may hook into FAL and do that yourself if really needed