[TYPO3-dam] dam_downloads with wrong filename

Thomas Scholze tscholze at fh-lausitz.de
Tue Jan 6 09:34:04 CET 2009


Hello,
i've upgraded my site to version 4.2.3 and some extensions too.

Current extension versions are
dam 1.1.1
dam_downloads 1.1.0
dam_filelinks 0.3.14
naw_securedl 0.2.8

The new version of DAM isn't replacing spaces in filenames with "_" 
while uploading files. The old version 1.x did it (i think).

dam_downloads creates links with the php function urlencode(), which 
replaces spaces with "+" ... this leads to a wrong filename 
"file+with+spaces.txt"

A solution is to replace the urlencode() with rawurlencode()...

Maybe there is a TYPO3 class which can handle this?!

Thx 4 comments

Regards
Thomas




More information about the TYPO3-project-dam mailing list