Actions
Bug #23264
closedclass.tslib_content.php returns unfiltered data
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-07-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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)
Files
Actions