From 7c9a30c8e20bc4f83395d1497c12f5c1c5298178 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 12 Jun 2012 13:54:39 -0400 Subject: Allow autocomplete on packet capture and exec, since it's convenient to have a history there and there are no password fields. --- usr/local/www/diag_packet_capture.php | 2 ++ usr/local/www/exec.php | 2 ++ 2 files changed, 4 insertions(+) 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'])) { -- cgit v1.1