Issue Bug Closed

#21087If safe_mode is enabled, thumb generation fails for file with "&" in filename

anselm 09/18/09, 11:44 updated 05/01/13, 17:47

Description

When trying to view a thumb for a file with an ampersand in the filename, it shows the default “no thumb generated” image.

I appended a screenshot that shows this error in the DAM-Edit window.

I guess in t3lib/thumbs.php, wrapFileName() should escape the filename with escapeshellarg instead of just wrapping it with quotes.

[added by Olly]
Seems like this occurs in all TYPO3 versions
http://forge.typo3.org/repositories/revision/typo3v4-core/6258
http://forge.typo3.org/repositories/revision/typo3v4-core/6259
http://forge.typo3.org/repositories/revision/typo3v4-core/6260
(issue imported from #M11993)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.