N°2755 - Security hardening

This commit is contained in:
Stephen Abello
2020-02-06 14:50:27 +01:00
parent 44894526f1
commit ed67df734f

View File

@@ -360,7 +360,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>');