Index: link.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/link/link.module,v
retrieving revision 1.25.2.3
diff -u -r1.25.2.3 link.module
--- link.module	18 Oct 2010 03:46:47 -0000	1.25.2.3
+++ link.module	20 Oct 2010 08:18:30 -0000
@@ -485,7 +485,7 @@
   }
   // Separate out the query string if any.
   if (strpos($url, '?') !== FALSE) {
-    $item['query'] = substr($url, strpos($url, '?') + 1);
+    parse_str(substr($url, strpos($url, '?') + 1), $item['query']);
     $url = substr($url, 0, strpos($url, '?'));
   }
   // Save the new URL without the anchor or query.
