#23264class.tslib_content.php returns unfiltered data
Description
In function class.tslib_content.php::MULTIMEDIA one has the ability to specify height and width parameters for such objects via Typoscript.
In Lines 2632, 2633 and 2639, 2640 these values are assigned unfiltered to html attributes which are part of the <embed> tag that is used to embed the defined Object like Movies, Flash Applications or JAVA Class Files.
try some Typoscript like this
- Default PAGE object:
page = PAGE
page.10 = MULTIMEDIA
page.10.file = fileadmin/sample1.mpg
page.10.width = 640” style=“border: 3px dotted red;
page.10.height = 480
apply intval() as integer seems to be the desired datatype
(issue imported from #M15227)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.