Index: cck_redirection.module =================================================================== --- cck_redirection.module (revision 96) +++ cck_redirection.module (working copy) @@ -567,7 +567,8 @@ if (user_access('bypass redirection')) { if (!empty($element['#item']['value'])) { - drupal_set_message(t('This node is redirected to a !r.', array('!r' => l(t('remote URI'), $element['#item']['value'])))); + $url = parse_url($element['#item']['value']); + drupal_set_message(t('This node is redirected to a !r.', array('!r' => l(t('remote URI'), $url['path'], array('query'=>$url['query'], 'fragment'=>$url['fragment']))))); } } else { switch ($widget['redirect_type']) { @@ -595,7 +596,8 @@ */ function _cck_redirection_divert($element) { if (!empty($element['#item']['value'])) { - drupal_goto($element['#item']['value']); + $url = parse_url($element['#item']['value']); + drupal_goto($url['path'], $url['query'], $url['fragment']); } }