[TYPO3-dev] filelink with spaces

Christian Welzel gawain at camlann.de
Wed May 8 15:36:13 CEST 2013


Hi there,

currently i'm trying to use jumpurl=1 and secure=1 together with
filelink(). This looks like this:

$this->cObj->filelink(utf8_encode($files[$i]['name']), array('path' =>
$url.'/','jumpurl'=>1, 'jumpurl.' => array('secure'=>1)));

This works properly as long as the path does not contain spaces or other
"strange" letters (like "()"). But if it does, no link is generated.
Is there a way to also generate links for such files?


-- 
 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/de/pgpkey.html
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15



More information about the TYPO3-dev mailing list