summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-12 13:54:39 -0400
committerjim-p <jimp@pfsense.org>2012-06-12 13:55:06 -0400
commit7c9a30c8e20bc4f83395d1497c12f5c1c5298178 (patch)
tree739afaab09d8e91d34b06de2a4f44b5be8c1df45 /usr
parent5c7abe2eb3a30f38aeef96e4430cc0680aff74df (diff)
downloadpfsense-7c9a30c8e20bc4f83395d1497c12f5c1c5298178.zip
pfsense-7c9a30c8e20bc4f83395d1497c12f5c1c5298178.tar.gz
Allow autocomplete on packet capture and exec, since it's convenient to have a history there and there are no password fields.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_packet_capture.php2
-rwxr-xr-xusr/local/www/exec.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
index 75b6e26..6a70e97 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -35,6 +35,8 @@
##|*MATCH=diag_packet_capture.php*
##|-PRIV
+$allowautocomplete = true;
+
if ($_POST['downloadbtn'] == gettext("Download Capture"))
$nocsrf = true;
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index 8dfd73d..5bd7f30 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -38,6 +38,8 @@
##|*MATCH=exec.php*
##|-PRIV
+$allowautocomplete = true;
+
require("guiconfig.inc");
if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
OpenPOWER on IntegriCloud