diff options
author | jim-p <jimp@pfsense.org> | 2015-07-01 11:15:13 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-07-01 11:15:31 -0400 |
commit | d6a94eda00a3df51f59ed893e6c0a7669d4ce563 (patch) | |
tree | 7c8caffc4969461640ecd0f8adc8b2ab57949692 /usr | |
parent | a14571438d498c5b084cc5c94886f75cbdf58bfd (diff) | |
download | pfsense-d6a94eda00a3df51f59ed893e6c0a7669d4ce563.zip pfsense-d6a94eda00a3df51f59ed893e6c0a7669d4ce563.tar.gz |
Encode ca/cert descr in vpn_ipsec_phase1.php
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php index 79cf671..2c9006c 100644 --- a/usr/local/www/vpn_ipsec_phase1.php +++ b/usr/local/www/vpn_ipsec_phase1.php @@ -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 /> |