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
a14571438d
commit
d6a94eda00
@ -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 />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user