diff options
author | jim-p <jimp@pfsense.org> | 2015-06-16 10:13:09 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-16 10:13:09 -0400 |
commit | 621baeb604d1125e10222a70ba9a7efa85eff22b (patch) | |
tree | 6663a62f23ef694d5abdf06dd2a7fa4eb0bff659 /usr/local/www/services_captiveportal.php | |
parent | 6dbe58e1018b524d9085ac1a84eb6564d2adc955 (diff) | |
download | pfsense-621baeb604d1125e10222a70ba9a7efa85eff22b.zip pfsense-621baeb604d1125e10222a70ba9a7efa85eff22b.tar.gz |
Be more careful with encoding on pages that use single quotes around HTML attributes
Diffstat (limited to 'usr/local/www/services_captiveportal.php')
-rw-r--r-- | usr/local/www/services_captiveportal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index a56a6fc..6145949 100644 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -1090,7 +1090,7 @@ function enable_change(enable_change) { <tr> <td width="22%" valign="top"> </td> <td width="78%"> - <?php echo "<input name='zone' id='zone' type='hidden' value='" . htmlspecialchars($cpzone) . "' />"; ?> + <?php echo "<input name='zone' id='zone' type='hidden' value='" . htmlspecialchars($cpzone, ENT_QUOTES | ENT_HTML401) . "' />"; ?> <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" onclick="enable_change(true)" /> <a href="services_captiveportal_zones.php"><input name="Cancel" type="button" class="formbtn" value="<?=gettext("Cancel"); ?>" onclick="enable_change(true)" /></a> </td> |