Index: link.module
===================================================================
--- link.module	(revision 411)
+++ link.module	(working copy)
@@ -675,7 +675,7 @@
 
   $directories = "(\/[a-z0-9_\-\.~+%=&,$'!():;*@\[\]]*)*";
   // Yes, four backslashes == a single backslash.
-  $query = "(\/?\?([?a-z0-9+_|\-\.\/\\\\%=&,$'():;*@\[\]]*))";
+  $query = "(\/?\?([?a-z0-9+_|\-\.\/\\\\%=&,$'!():;*@\[\]]*))";
   $anchor = "(#[a-z0-9_\-\.~+%=&,$'():;*@\[\]]*)";
 
   // The rest of the path for a standard URL.

