[TYPO3-core] RFC #17483: GifBuilder - meaningfulTempFilePrefix can cause invalid image urls
Stefan Galinski
sgalinski at df.eu
Tue Feb 8 20:54:09 CET 2011
Hi,
This is a SVN patch request.
Type: Bugfix
BT reference: http://bugs.typo3.org/view.php?id=17483
Branches: trunk / 4_5
Problem:
Currently there are incorrect image urls if you use the
meaningfulTempFilePrefix option and text with invalid url characters.
Solution:
Whitelist the allowed characters instead of managing a blacklist. There are
not much allowed characters.
How To Test:
Use the following TS snippet to reproduce the issue.
config.meaningfulTempFilePrefix = 100
page = PAGE
page.10 = COA
page.10 {
10 = IMAGE
10 {
file = GIFBUILDER
file {
XY = 200,30
transparentBackground = 1
format = png
backColor = #000000
15 = TEXT
15 {
text = täst/123$?&%-_.+!*
fontColor = #FFFFFF
fontSize = 24
offset=0,24
}
}
}
}
--
Stefan Galinski
staatl. geprüfter Informatiktechniker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17483_v1.diff
Type: text/x-patch
Size: 878 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110208/de549438/attachment.bin>
More information about the TYPO3-team-core
mailing list