diff options
author | jim-p <jimp@pfsense.org> | 2011-09-06 18:37:35 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-09-06 18:37:35 -0400 |
commit | fce938b3a32ed071edf9aba6b1f07ec08a82a743 (patch) | |
tree | 2a8862abf80f180de224fd30fac18ec817511f4b | |
parent | 3aa114d5550f03ceb0d05d6c9c2ce22542ba5512 (diff) | |
download | pfsense-fce938b3a32ed071edf9aba6b1f07ec08a82a743.zip pfsense-fce938b3a32ed071edf9aba6b1f07ec08a82a743.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.inc | 2 | ||||
-rw-r--r-- | usr/local/www/diag_system_pftop.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc index 8f58dae..d74d831 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'] = gettext("WebCfg - Diagnostics: System Activity"); $priv_list['page-diag-system-activity']['descr'] = gettext("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'] = gettext("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"); |