#45221Images with whitespaces in their names are not stored correctly in _processed_
Description
As of TYPO3 version 6.0.1, images with whitespaces in their names are not correct referenced in the output, because the image src arribute contains the whitespaces (as ‘%20’) but the processed file is stored with underlines.
Example (assuming the image is wider than 50px):
page.5 = IMAGE page.5.file = fileadmin/My Image.jpg page.5.file.maxW = 50
will produce following img tag:
<img src="typo3temp/_processed_/My%20Image.jpg" width=50" ... />
but the image itself is stored as
typo3temp/_processed_/csm_My_Image{$hash}.jpg
I did not dig too deep into this problem because I’m not familar with FAL (yet ;)). I just saw, that the TYPO3\CMS\Core\Resource\Driver\LocalDriver calls its method sanitizeFileName() before adding the file in the method addFile(). This is new since 6.0.1.
Thanks for taking care of this one!