Actions
Bug #18551
closedIMG_RESOURCE doesn't support file name with space
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