[pkg-nagios-changes] [Git][nagios-team/nagvis][upstream] New upstream version 1.9.44

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Sep 30 14:36:07 BST 2024



Bas Couwenberg pushed to branch upstream at Debian Nagios Maintainer Group / nagvis


Commits:
1787218d by Bas Couwenberg at 2024-09-30T15:19:46+02:00
New upstream version 1.9.44
- - - - -


3 changed files:

- ChangeLog
- share/server/core/classes/CoreLogonMultisite.php
- share/server/core/defines/global.php


Changes:

=====================================
ChangeLog
=====================================
@@ -1,3 +1,7 @@
+1.9.44
+  * FIX: Fix not working cookie session timestamps validation introduced with 1.9.43 in
+         some HTTPS scenarios
+
 1.9.43
 Core:
   * FIX: Fix error when entering correct proxy URLs with ports and proxy schemas.


=====================================
share/server/core/classes/CoreLogonMultisite.php
=====================================
@@ -136,16 +136,16 @@ class CoreLogonMultisite extends CoreLogonModule {
         }
 
         // Check session periods validity
-        $site = cfg('defaults', 'backend')[0];
-        $baseUrl = cfg('backend_' . $site . '_bi', 'base_url');
+        $site = getenv('OMD_SITE');
+        $port = $_SERVER['SERVER_PORT'];
+        $url = "http://localhost:$port/$site/check_mk/api/1.0/version";
+        
         $headers = [
             'Content-type: application/json',
             'Accept: application/json',
             "Cookie: $cookieName=$cookieValue",
         ];
 
-        $url = $baseUrl . 'api/1.0/version';
-
         $contextOptions = [
             'http' => [
                 'method' => 'GET',
@@ -158,7 +158,6 @@ class CoreLogonMultisite extends CoreLogonModule {
         if ($result === false) {
             throw new Exception();
         }
-        
 
         return $username;
     }


=====================================
share/server/core/defines/global.php
=====================================
@@ -23,7 +23,7 @@
  *****************************************************************************/
  
 // NagVis Version
-define('CONST_VERSION', '1.9.43');
+define('CONST_VERSION', '1.9.44');
 
 // Set PHP error handling to standard level
 // Different levels for php versions below 5.1 because PHP 5.1 reports



View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/commit/1787218d4673a8d18853995385d7925095554af0

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/commit/1787218d4673a8d18853995385d7925095554af0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20240930/36d7478e/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list