Bug #20792
closed
typolink.parameter gets confused by blank in filename
Added by Markus Plutka over 15 years ago.
Updated almost 10 years ago.
Description
If a filename containing a blank is set as parameter for core's typolink function, the filename gets split and the second part after the blank ends up as link target. Multiple blanks result in multiple splitting.
(issue imported from #M11597)
How do you get filenames with blanks in it?
If you upload a file with a blank in the name with the filelist-module, the blank is replaced by an underscore.
Files uploaded via FTP, which isn't uncommon, won't be renamed.
We're building some kind of DMS with rather big files when this bug first occured.
So the real problem is that you have to upload hugh amounts of files and that you cannot conveniently do that in TYPO3 (probably, because TYPO3 does not offer this possibility).
A solution is: TYPO3 4.3 will include a flash file uploader which enables you to upload multiple files at once. This uploader can already be tested in TYPO3 4.3 alpha3.
I would rather consider this a workaround.
There may be countless situations where a filename with a blank exists (unfortunately you can't prevent this from happening and train everybody not to do so) and so typolink.parameter misinterprets this blank.
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
- Status changed from Needs Feedback to New
Alexander Opitz wrote:
does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Sure, what Markus describes is the documented behaviour (which does not mean, that it couldn't be changed).
- Status changed from New to Rejected
- Is Regression set to No
URLs may not contain blanks. Make sure to properly urlencode (hence the name ;-)) the filename before linking to it.
Also available in: Atom
PDF