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:13 -0400 |
commit | f9e80e5d657f6d67bb63411809564cb7f95eb8ff (patch) | |
tree | 895030358664c0c178491a2b4d67754d8c527087 /usr/local/www/vpn_ipsec_phase1.php | |
parent | 2ce606e15a6affac120b185ae5430b959f4cae5f (diff) | |
download | pfsense-f9e80e5d657f6d67bb63411809564cb7f95eb8ff.zip pfsense-f9e80e5d657f6d67bb63411809564cb7f95eb8ff.tar.gz |
Encode ca/cert descr in vpn_ipsec_phase1.php
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-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 009582e..5c7aec2 100644 --- a/usr/local/www/vpn_ipsec_phase1.php +++ b/usr/local/www/vpn_ipsec_phase1.php @@ -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 /> |