contao/import — Issue #3622: brackets in filenames
Author: importer
Created: 2011-11-29 21:53:52+00:00
State: open
Labels: Feature

Leo, the FileManager popup window gives "file not found" and no details or download possibility for a jpg with brackets in the filename - eg: Brett 008 (Medium).jpg
This may affect other characters and filetypes too.
Its only the Filemanager for some reason - if I call new File() and produce a popup manually as below its fine with the brackets...

`$objFile = new File($row['background']);
$popupWidth = ($objFile->width > 600) ? ($objFile->width + 61) : 661;
$popupHeight = ($objFile->height + 305);
$background = '' . $this->generateImage($this->getImage($row['background'],100,0,'proportional'),$row['background']) .'
';`

It happens in Contao 2.10.3 and the 2.11 beta, and probably everything earlier.

Great stuff with 2.11 - I'm still loving Typolight!

--- _Originally created by ramjet on November 12th, 2011, at 12:04pm (ID 3622)_