Issue Bug Closed

#18551IMG_RESOURCE doesn't support file name with space

df3ct 04/03/08, 12:11 updated 09/09/13, 08:58

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.