From 3d003f13038325f98303cdd13330b710e0558413 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 13 Sep 2023 13:29:59 +0200 Subject: [PATCH] CompatController: Properly define `X-Icinga-Location-Query` fixes #206 --- src/Compat/CompatController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compat/CompatController.php b/src/Compat/CompatController.php index f8984a6c..f4c2fb0b 100644 --- a/src/Compat/CompatController.php +++ b/src/Compat/CompatController.php @@ -381,7 +381,7 @@ public function sendMultipartUpdate(BaseHtmlElement ...$additionalControls) } if ($redirectUrl !== null) { - $this->getResponse()->setHeader('X-Icinga-Location-Query', $redirectUrl->getParams()->toString()); + $this->getResponse()->setHeader('X-Icinga-Location-Query', $redirectUrl->getQueryString()); } }