summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_relay_action_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-12 11:36:13 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-12 11:36:20 -0500
commitdd5bf424c155922b065b45e64733bdf8de620c0f (patch)
tree1b22756ce120544141edc9d3f2159037b955c2bc /usr/local/www/load_balancer_relay_action_edit.php
parent4656943e59eb19a534c06cc253e266da6c52e915 (diff)
downloadpfsense-dd5bf424c155922b065b45e64733bdf8de620c0f.zip
pfsense-dd5bf424c155922b065b45e64733bdf8de620c0f.tar.gz
Fix XSS issues
Diffstat (limited to 'usr/local/www/load_balancer_relay_action_edit.php')
-rwxr-xr-xusr/local/www/load_balancer_relay_action_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/load_balancer_relay_action_edit.php b/usr/local/www/load_balancer_relay_action_edit.php
index 69bf0e3..390ee17 100755
--- a/usr/local/www/load_balancer_relay_action_edit.php
+++ b/usr/local/www/load_balancer_relay_action_edit.php
@@ -392,10 +392,10 @@ function num_options() {
document.observe("dom:loaded", function() {
- updateProtocol('<?=$pconfig['protocol']?>');
- updateDirection('<?=$pconfig['direction']?>');
- updateType('<?=$pconfig['type']?>');
- updateAction('<?=$pconfig['action']?>');
+ updateProtocol('<?=htmlspecialchars($pconfig['protocol'])?>');
+ updateDirection('<?=htmlspecialchars($pconfig['direction'])?>');
+ updateType('<?=htmlspecialchars($pconfig['type'])?>');
+ updateAction('<?=htmlspecialchars($pconfig['action'])?>');
});
</script>
OpenPOWER on IntegriCloud