diff --git a/redirect.module b/redirect.module
index b14709b..363056f 100644
--- a/redirect.module
+++ b/redirect.module
@@ -251,7 +251,7 @@ function redirect_init() {
 
   $current_path = current_path();
   $current_langcode = $GLOBALS['language']->language;
-  $current_query = drupal_get_query_parameters();
+  $current_query = drupal_get_query_array($_SERVER['QUERY_STRING']);
   if ($redirect = redirect_load_by_source($current_path, $current_langcode, $current_query)) {
     redirect_redirect($redirect);
   }
