Encode cert/ca descr in system_advanced_admin.php

This commit is contained in:
jim-p 2015-07-01 11:10:48 -04:00
parent 0d6b017b28
commit d2d45b5fd4

View File

@ -342,7 +342,7 @@ function prot_change() {
if ($pconfig['ssl-certref'] == $cert['refid'])
$selected = "selected=\"selected\"";
?>
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option>
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=htmlspecialchars($cert['descr']);?></option>
<?php
endforeach;
if (!count($a_cert))