Bug #20792
closedtypolink.parameter gets confused by blank in filename
0%
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)
Updated by Chris topher over 15 years ago
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.
Updated by Markus Plutka over 15 years ago
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.
Updated by Chris topher over 15 years ago
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.
Updated by Markus Plutka over 15 years ago
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.
Updated by Alexander Opitz over 11 years ago
- 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)?
Updated by Chris topher over 11 years ago
- 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).
Updated by Mathias Schreiber almost 10 years ago
- 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.