Commit 8f02b7ac authored by Ad Schellevis's avatar Ad Schellevis

whitespace firewall_nat_1to1_edit.php

parent ca8bc61b
...@@ -62,7 +62,7 @@ function formInterfaces() { ...@@ -62,7 +62,7 @@ function formInterfaces() {
$interfaces['pptp'] = "PPTP VPN"; $interfaces['pptp'] = "PPTP VPN";
if (is_pppoe_server_enabled()) if (is_pppoe_server_enabled())
$interfaces['pppoe'] = "PPPoE VPN"; $interfaces['pppoe'] = "PPPoE VPN";
/* add ipsec interfaces */ /* add ipsec interfaces */
if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enable'])) if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enable']))
...@@ -153,8 +153,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -153,8 +153,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
// validate input // validate input
foreach ($pconfig as $key => $value) { foreach ($pconfig as $key => $value) {
if($value <> htmlentities($value)) if($value <> htmlentities($value))
$input_errors[] = sprintf(gettext("Invalid characters detected (%s). Please remove invalid characters and save again."),htmlentities($value)); $input_errors[] = sprintf(gettext("Invalid characters detected (%s). Please remove invalid characters and save again."),htmlentities($value));
} }
/* input validation */ /* input validation */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment