mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Form: Provide an absolute url as redirect url for successful frame uploads
refs #8758
This commit is contained in:
parent
6c9819204d
commit
7c89887773
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user