-
+
=gettext("You may enter a description here for your reference (not parsed)."); ?>
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index e27053cde3..d216a9849e 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -834,7 +834,7 @@ include("fbegin.inc"); ?>
diff --git a/usr/local/www/load_balancer_virtual_server_edit.php b/usr/local/www/load_balancer_virtual_server_edit.php
index 91183193f4..96a557c1d6 100755
--- a/usr/local/www/load_balancer_virtual_server_edit.php
+++ b/usr/local/www/load_balancer_virtual_server_edit.php
@@ -167,7 +167,7 @@ document.observe("dom:loaded", function() {
});
// Go ahead and disable the relay stuff, we'll trigger
- updateRelay("=$pconfig['mode'];?>");
+ updateRelay("=htmlspecialchars($pconfig['mode']);?>");
});
@@ -231,7 +231,7 @@ document.observe("dom:loaded", function() {
=gettext("NOTE:"); ?> =gettext("Please add a pool on the Pools tab to use this feature."); ?>
-
+
=gettext("You may enter a description here for your reference (not parsed).");?>
diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php
index 8b79c666f9..0b61bbfd50 100755
--- a/usr/local/www/services_snmp.php
+++ b/usr/local/www/services_snmp.php
@@ -274,7 +274,7 @@ function enable_change(whichone) {
=gettext("Polling Port ");?>
-
+
=gettext("Enter the port to accept polling events on (default 161)");?>
@@ -343,7 +343,7 @@ function enable_change(whichone) {
=gettext("Trap server port ");?>
-
+
=gettext("Enter the port to send the traps to (default 162)");?>
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 80002815ba..3625e4083b 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -120,14 +120,14 @@ if ($_GET['order']) {
diff --git a/usr/local/www/system_authservers.php b/usr/local/www/system_authservers.php
index 8a18ed66d2..fad6b34b3e 100644
--- a/usr/local/www/system_authservers.php
+++ b/usr/local/www/system_authservers.php
@@ -429,7 +429,7 @@ function select_clicked() {
- =$pconfig[name];?>
+ =htmlspecialchars($pconfig['name']);?>
@@ -742,7 +742,7 @@ function select_clicked() {
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index 93eb56c3b1..04bbeb9985 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -809,7 +809,7 @@ if ($savemsg)
-
+
=gettext("Enter any additional options you would like to add to the OpenVPN client configuration here, separated by a semicolon"); ?>
=gettext("EXAMPLE: route 10.0.0.0 255.255.255.0;"); ?>
-
+
=gettext("Enter any additional options you would like to add to the OpenVPN server configuration here, separated by a semicolon"); ?>
=gettext("EXAMPLE: push \"route 10.0.0.0 255.255.255.0\""); ?>;