From a138f065365e89cd3b37a2aef5cc2de4d1eab4c2 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 31 Oct 2012 15:51:42 -0400 Subject: [PATCH] Encode parameters before showing them to users. --- usr/local/www/system_gateways_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 33cb2b3b36..2bfdd5d6ac 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -447,9 +447,9 @@ function monitor_change() { /* If this is a system gateway we need this var */ if(($pconfig['attribute'] == "system") || is_numeric($pconfig['attribute'])) { - echo "\n"; + echo "\n"; } - echo "\n"; + echo "\n"; ?> @@ -502,7 +502,7 @@ function monitor_change() { @@ -530,7 +530,7 @@ function monitor_change() { else $monitor = htmlspecialchars($pconfig['monitor']); ?> - +
- "> + ">