From 9f0e48a0a180fe0ec519407b36c091d2bee32114 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 30 Jul 2015 09:28:05 +0200 Subject: [PATCH] Don't send the X-Icinga-Module header more than once fixes #9349 --- library/Icinga/Web/Controller/ModuleActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Controller/ModuleActionController.php b/library/Icinga/Web/Controller/ModuleActionController.php index 21a40900e..60990d5d8 100644 --- a/library/Icinga/Web/Controller/ModuleActionController.php +++ b/library/Icinga/Web/Controller/ModuleActionController.php @@ -77,6 +77,6 @@ class ModuleActionController extends ActionController public function postDispatchXhr() { parent::postDispatchXhr(); - $this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName); + $this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName, true); } }