diff --git a/includes/common.inc b/includes/common.inc index 0e4f484902f..e5306bd3cf8 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -324,7 +324,7 @@ function drupal_goto($path = '', $query = NULL, $fragment = NULL, $http_response if ($destination) { // Do not redirect to an absolute URL originating from user input. if (!menu_path_is_external($destination)) { - extract(parse_url($destination)); + extract(parse_url(urldecode($destination))); } }