From a855ea347f8668cefb04360b2d7158d8939e07ac Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Fri, 18 Feb 2011 02:19:48 +0000 Subject: improved wiki --- h-source/Application/Controllers/UsersController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/UsersController.php') diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index 4fa078b..95addf4 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -76,7 +76,8 @@ class UsersController extends BaseController case 'accepted': if (strcmp($redirect,'') !== 0) { - $this->redirect($redirect,0); + $redirect = html_entity_decode($redirect,ENT_QUOTES,DEFAULT_CHARSET); + header('Location: http://'.DOMAIN_NAME."/".$redirect); } else { -- cgit v1.2.3