diff --git a/code/site/components/com_pages/controller/form.php b/code/site/components/com_pages/controller/form.php index 58acb68b3..4aa632fe0 100644 --- a/code/site/components/com_pages/controller/form.php +++ b/code/site/components/com_pages/controller/form.php @@ -40,8 +40,11 @@ protected function _actionSubmit(KControllerContextInterface $context) { if($redirect = $this->getPage()->form->redirect) { - $url = $this->getView()->getRoute($redirect); - $this->getResponse()->setRedirect($url); + if(substr($redirect, 0, 4) !== 'http') { + $redirect = $this->getView()->getRoute($redirect); + } + + $this->getResponse()->setRedirect($redirect); } else $context->response->setStatus(KHttpResponse::RESET_CONTENT); }