#25316meaningfulTempFilePrefix generates bad file names in some cases
Description
If you:
- create an IMAGE object using GIFBUILDER, and
- use meaningfulTempFilePrefix, and
- use text from a field, which contains CR, NL, commas or exclamation marks,
image’s file name will contain all those symbols. If it has a CR symbol, it will show a 404 error in the backend. In other cases it will not be accessible by regular shell commands.
Example TS:
config.meaningfulTempFilePrefix = 100
page.777 = IMAGE
page.777 {
file = GIFBUILDER
file {
XY = 200,100
backColor = red
20 = TEXT
20 {
text {
dataWrap (
Hello, world!
I love you!
)
}
fontSize = 18
fontColor = yellow
offset = 5, 20
}
}
}
The problem affects only TYPO3 version 4.4.7 (not 4.5.0, not 4.4.6).
(issue imported from #M17936)