diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-04 00:05:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-04 00:05:32 +0000 |
commit | f169d6ca2ebff2bd4049742fe8f4a3987cedc67c (patch) | |
tree | 48dd3b723438053b0e2f276b10072dfe01e4a446 /usr | |
parent | 4c73bfd6c70cda5c1920c1cb449371e0331da776 (diff) | |
download | pfsense-f169d6ca2ebff2bd4049742fe8f4a3987cedc67c.zip pfsense-f169d6ca2ebff2bd4049742fe8f4a3987cedc67c.tar.gz |
Correctly write out /tmp/ file
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index bc28cd6..a27f5e9 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -74,11 +74,12 @@ if ($optcfg['ipaddr'] == "dhcp") { if ($_POST) { unset($input_errors); - $pconfig = $_POST; /* filter out spaces from descriptions */ $POST['descr'] = str_replace(" ", "_", $POST['descr']); + $pconfig = $_POST; + /* input validation */ if ($_POST['enable']) { |