Encode ca/cert descr in vpn_ipsec_phase1.php

This commit is contained in:
jim-p 2015-07-01 11:15:13 -04:00
parent a14571438d
commit d6a94eda00

View File

@ -877,7 +877,7 @@ function dpdchkbox_change() {
$selected = "selected=\"selected\"";
}
?>
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option>
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=htmlspecialchars($cert['descr']);?></option>
<?php endforeach; ?>
</select>
<br />
@ -897,7 +897,7 @@ function dpdchkbox_change() {
$selected = "selected=\"selected\"";
}
?>
<option value="<?=$ca['refid'];?>" <?=$selected;?>><?=$ca['descr'];?></option>
<option value="<?=$ca['refid'];?>" <?=$selected;?>><?=htmlspecialchars($ca['descr']);?></option>
<?php endforeach; ?>
</select>
<br />