Project

General

Profile

Actions

Bug #18551

closed

IMG_RESOURCE doesn't support file name with space

Added by df3ct about 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-04-03
Due date:
% Done:

0%

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

Description

Problem exists when you want to link a file with space in name using .file property in IMG_RESOURCE object. Url to this file contains only chars before space, and all after are cut.

For example, if your file name is: "uploads/pics/name with_space.jpg" your link will be "uploads/pics/name".

Additionaly, in normal way Typo3 checks if file exists and if not the link will be deleted, but in this situation file "uploads/pics/name with_space.jpg" exists, but bad link will be rendered.

temp.test = TEXT
temp.test {
value = test
typolink {
parameter.cObject = IMG_RESOURCE
parameter.cObject.file = uploads/pics/name with_space.jpg
}
}

(issue imported from #M8003)

Actions #1

Updated by Christian Kuhn over 15 years ago

Confirmed.

But TYPO3 always substitutes whitespaces with underscores in files when uploading them. So I do not know if we should fix this.

IMAGE.file works with whitespaces, though.

Actions #2

Updated by df3ct almost 15 years ago

Yes, you are right, it's rather a feature than bug. It was very problematic for me in some cases in the past. I think that request is outdated and coused by documentation misunderstood.

Actions #3

Updated by Thundernail over 13 years ago

I would like to use the IMG_RESOURCE for my photo gallery in combination with the extension "Perfect Lightbox". Because of the amount of images, the images are uploaded my FTP and so I have the problem with spaces in the file names know :-(.

Actions #4

Updated by Jo Hasenau over 13 years ago

Will take a look at it, while fixing other tslib_content stuff

Actions #5

Updated by Jo Hasenau over 13 years ago

BTW: Could you provide your system configuration, since this bug may be related to the problems with IM/GM on Windows or with safe mode on.

Actions #6

Updated by Alexander Opitz about 11 years ago

  • Category deleted (Communication)
  • Status changed from Accepted 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 #7

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Benni Mack)
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF