summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-09-06 18:37:35 -0400
committerjim-p <jimp@pfsense.org>2011-09-06 18:38:29 -0400
commit7179d00e0b0134615e442829792960f343b8a378 (patch)
treee2a5c45a56dac682a13c0f11f37fd98322db93a7
parentda2bee021abf728c65847699d1593f31283cf7d8 (diff)
downloadpfsense-7179d00e0b0134615e442829792960f343b8a378.zip
pfsense-7179d00e0b0134615e442829792960f343b8a378.tar.gz
Match pftop page exatly with privilege, there is no other page that glob would catch. Fixes #1845
-rw-r--r--etc/inc/priv.defs.inc2
-rw-r--r--usr/local/www/diag_system_pftop.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index c698d61..d9f8099 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -226,7 +226,7 @@ $priv_list['page-diag-system-activity'] = array();
$priv_list['page-diag-system-activity']['name'] = "WebCfg - Diagnostics: System Activity";
$priv_list['page-diag-system-activity']['descr'] = "Allows access to the 'Diagnostics: System Activity' page";
$priv_list['page-diag-system-activity']['match'] = array();
-$priv_list['page-diag-system-activity']['match'][] = "diag_system_pftop*";
+$priv_list['page-diag-system-activity']['match'][] = "diag_system_pftop.php*";
$priv_list['page-diagnostics-tables'] = array();
$priv_list['page-diagnostics-tables']['name'] = "WebCfg - Diagnostics: PF Table IP addresses";
diff --git a/usr/local/www/diag_system_pftop.php b/usr/local/www/diag_system_pftop.php
index af0a581..673d226 100644
--- a/usr/local/www/diag_system_pftop.php
+++ b/usr/local/www/diag_system_pftop.php
@@ -35,7 +35,7 @@
##|*IDENT=page-diag-system-activity
##|*NAME=Diagnostics: System Activity
##|*DESCR=Allows access to the 'Diagnostics: System Activity' page
-##|*MATCH=diag_system_pftop*
+##|*MATCH=diag_system_pftop.php*
##|-PRIV
require("guiconfig.inc");
OpenPOWER on IntegriCloud