summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_relay_action_edit.php
diff options
context:
space:
mode:
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