Skip to content

Commit e7ebc1d

Browse files
committed
Add Security::remove_XSS
1 parent cf0650b commit e7ebc1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main/course_info/about.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* Show information about a course.
1414
*
1515
* @author Alex Aragon Calixto <alex.aragon@beeznest.com>
16-
*
17-
* @package chamilo.course
1816
*/
1917
$cidReset = true;
2018

@@ -92,7 +90,7 @@
9290
foreach ($courseDescriptionTools as $descriptionTool) {
9391
switch ($descriptionTool->getDescriptionType()) {
9492
case CCourseDescription::TYPE_DESCRIPTION:
95-
$courseDescription = $descriptionTool->getContent();
93+
$courseDescription = Security::remove_XSS($descriptionTool->getContent());
9694
break;
9795
case CCourseDescription::TYPE_OBJECTIVES:
9896
$courseObjectives = $descriptionTool;

0 commit comments

Comments
 (0)