Skip to content

Commit

Permalink
CompatController: Properly define X-Icinga-Location-Query
Browse files Browse the repository at this point in the history
fixes #206
  • Loading branch information
nilmerg committed Sep 13, 2023
1 parent 9eea922 commit 3d003f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat/CompatController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 3d003f1

Please sign in to comment.