N°2755 - Security hardening

This commit is contained in:
Stephen Abello
2020-02-06 14:50:27 +01:00
committed by Eric
parent 016fbaed36
commit 4b7f736af0

View File

@@ -366,7 +366,7 @@ try
$sDefaultChoice = $aInitFieldMapping[$index];
}
$oPage->add('<tr>');
$oPage->add("<th>$sField</th>");
$oPage->add('<th>'.utils::HtmlEntities($sField).'</th>');
$oPage->add('<td>'.GetMappingForField($sClassName, $sField, $index, $bAdvanced, $sDefaultChoice).'</td>');
$oPage->add('<td>&nbsp;</td>');
$oPage->add('<td><input id="search_'.$index.'" type="checkbox" name="search_field['.$index.']" value="1" /></td>');