Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Just upgraded to 2.50. Is this patch needed?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 692 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jeff3820
      last edited by jeff3820

      In the system_patches packages I have the following patch...

      eb4ed2b4-0a07-4970-9441-ccfdd035300e-image.png

      Here is the contents of the patch:

      From b9ed452dbba4689e6280efa7f503e30809a3d8e4 Mon Sep 17 00:00:00 2001
      From: jim-p jimp@netgate.com
      Date: Tue, 21 May 2019 14:53:02 -0400
      Subject: [PATCH] Remove wildcards incorrectly used in isAllowedPage(). Fixes
      #9541

      (cherry picked from commit cf529cbe33ae53f3f95b37a227da141b97465f20)

      src/usr/local/www/head.inc | 4 ++--
      1 file changed, 2 insertions(+), 2 deletions(-)

      diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
      index 0e7a3a7c6f..208ce4fbd4 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");
      }

      The patch ID is: 5ce9d751d7490

      If I recall this patch was needed with 2.4.5. Should I just delete this patch in 2.50, revert, or what??

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You don't need that it's included. You see there you can only revert it.

        Steve

        J 1 Reply Last reply Reply Quote 0
        • J
          jeff3820 @stephenw10
          last edited by

          @stephenw10 I didn't revert the patch, I just deleted it. I assume that works?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes, that's correct.

            It shows you can revert it because it's already in the base code in 2.5.

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.