Form: Provide an absolute url as redirect url for successful frame uploads

refs #8758
This commit is contained in:
Johannes Meyer 2015-07-21 16:35:56 +02:00
parent 6c9819204d
commit 7c89887773
1 changed files with 1 additions and 1 deletions

View File

@ -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