mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Encode ca/cert descr in vpn_ipsec_phase1.php
This commit is contained in:
parent
2ce606e15a
commit
f9e80e5d65
@ -805,7 +805,7 @@ function dpdchkbox_change() {
|
||||
if ($pconfig['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; ?>
|
||||
</select>
|
||||
<br />
|
||||
@ -824,7 +824,7 @@ function dpdchkbox_change() {
|
||||
if ($pconfig['caref'] == $ca['refid'])
|
||||
$selected = "selected=\"selected\"";
|
||||
?>
|
||||
<option value="<?=$ca['refid'];?>" <?=$selected;?>><?=$ca['descr'];?></option>
|
||||
<option value="<?=$ca['refid'];?>" <?=$selected;?>><?=htmlspecialchars($ca['descr']);?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<br />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user