[pkg-nagios-changes] [Git][nagios-team/nagvis][master] 4 commits: New upstream version 1.9.44

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



Bas Couwenberg pushed to branch master 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
- - - - -
109e87e2 by Bas Couwenberg at 2024-09-30T15:19:51+02:00
Update upstream source from tag 'upstream/1.9.44'

Update to upstream version '1.9.44'
with Debian dir 9e35a5472d4a7cebca3f4d1a659f76a6f1334661
- - - - -
4c3ee999 by Bas Couwenberg at 2024-09-30T15:20:06+02:00
New upstream release.

- - - - -
73719196 by Bas Couwenberg at 2024-09-30T15:20:41+02:00
Set distribution to unstable.

- - - - -


4 changed files:

- ChangeLog
- debian/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.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+nagvis (1:1.9.44-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 30 Sep 2024 15:20:33 +0200
+
 nagvis (1:1.9.43-1) unstable; urgency=medium
 
   * Team upload.


=====================================
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/-/compare/6e011c983a5b0bfe0b3108ff58d268e3ec13e3ef...737191961d48374f55b98acbc36c1d8e0459b8b8

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/compare/6e011c983a5b0bfe0b3108ff58d268e3ec13e3ef...737191961d48374f55b98acbc36c1d8e0459b8b8
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/3400f2c6/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list