Index: globalredirect.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/globalredirect/globalredirect.module,v
retrieving revision 1.1.2.4.2.5.2.14
diff -u -p -r1.1.2.4.2.5.2.14 globalredirect.module
--- globalredirect.module	22 Dec 2008 10:34:32 -0000	1.1.2.4.2.5.2.14
+++ globalredirect.module	11 Sep 2009 01:08:16 -0000
@@ -143,7 +143,9 @@ function globalredirect_init() {
     }
 
     // Compare the request to the alias. This also works as a 'deslashing' agent. If we have a language prefix then prefix the alias
-    if ($_REQUEST['q'] != $prefix . $alias) {
+    // sometimes users will create a custom_url_rewrite_outbound and in that case, the $_REQUEST['q'] will be different
+    // then the internal path, BUT will not have an alias in the url_alias table
+    if ($_REQUEST['q'] != $prefix . $alias && ($alias != $request || $redirect_slash)) {
       // If it's not just a slash or user has deslash on, redirect
       if (str_replace($prefix . $alias, '', $_REQUEST['q']) != '/' || $redirect_slash) {
         drupal_goto($alias, $query_string, NULL, 301);
