From 7c89887773c649a7d916274d39ba7d1c2449a47f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 21 Jul 2015 16:35:56 +0200 Subject: [PATCH] Form: Provide an absolute url as redirect url for successful frame uploads refs #8758 --- library/Icinga/Web/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 78ae1f587..4e587a148 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -967,7 +967,7 @@ class Form extends Zend_Form $this->getResponse()->redirectAndExit($this->getRedirectUrl()); } - $this->getView()->layout()->redirectUrl = $this->getRedirectUrl(); + $this->getView()->layout()->redirectUrl = $this->getRedirectUrl()->getAbsoluteUrl(); } } elseif ($this->getValidatePartial()) { // The form can't be processed but we may want to show validation errors though