Project

General

Profile

Actions

Bug #20792

closed

typolink.parameter gets confused by blank in filename

Added by Markus Plutka over 15 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

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)?

Actions #6

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).

Actions #7

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.

Actions

Also available in: Atom PDF