diff options
author | jim-p <jimp@netgate.com> | 2019-05-21 14:53:02 -0400 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-05-21 14:53:53 -0400 |
commit | b9ed452dbba4689e6280efa7f503e30809a3d8e4 (patch) | |
tree | 50bbcc020dfb96e199c2282e3ccfadd6000d1b12 /src/usr/local/www | |
parent | e905762d96d531082933f3fefc2040e25d12c663 (diff) | |
download | pfsense-b9ed452dbba4689e6280efa7f503e30809a3d8e4.zip pfsense-b9ed452dbba4689e6280efa7f503e30809a3d8e4.tar.gz |
Remove wildcards incorrectly used in isAllowedPage(). Fixes #9541
(cherry picked from commit cf529cbe33ae53f3f95b37a227da141b97465f20)
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/head.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 0e7a3a7..208ce4f 100644 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -247,13 +247,13 @@ $system_menu[] = array(gettext("Package Manager"), "/pkg_mgr_installed.php"); $system_menu[] = array(gettext("Setup Wizard"), "/wizard.php?xml=setup_wizard.xml"); $system_menu[] = array(gettext("Routing"), "/system_gateways.php"); $system_menu[] = array(gettext("Cert. Manager"), "/system_camanager.php"); -if (!isAllowedPage("system_usermanager.php*")) { +if (!isAllowedPage("system_usermanager.php")) { $system_menu[] = array(gettext("User Manager"), "/system_usermanager_passwordmg.php"); } else { $system_menu[] = array(gettext("User Manager"), "/system_usermanager.php"); } -if ($user_settings['customsettings'] && isAllowedPage("system_user_settings.php*")) { +if ($user_settings['customsettings'] && isAllowedPage("system_user_settings.php")) { $system_menu[] = array(gettext("User Settings"), "/system_user_settings.php"); } |