Skip to content
Permalink
Browse files

* MKBI backend: Use "htmlcgi" URL/path for building links to the Chec…

…kmk GUI

Aggregations used the base_url, which should not be used for user URLs
  • Loading branch information...
LarsMichelsen committed Aug 14, 2019
1 parent 747aed4 commit 8a16d01b5c95f364517745118022ba6bd27d67d4
Showing with 6 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +2 −1 share/server/core/classes/GlobalBackendmkbi.php
@@ -1,4 +1,8 @@
1.9.14
Core:
* MKBI backend: Use "htmlcgi" URL/path for building links to the Checkmk GUI
(Aggregations used the base_url, which should not be used for user URLs)

Frontend
* FIX: Fix creating users when mbstring extension is not available

@@ -127,7 +127,8 @@ private function getSecret() {
}
private function aggrUrl($name) {
return $this->baseUrl.'view.py?view_name=aggr_single&aggr_name='.$name.'&po_aggr_expand=1';
$html_cgi = cfg('backend_'.$this->backendId, 'htmlcgi');
return $html_cgi.'/view.py?view_name=aggr_single&aggr_name='.$name.'&po_aggr_expand=1';
}
/**

0 comments on commit 8a16d01

Please sign in to comment.
You can’t perform that action at this time.