? prevent_endless_redirects_218277.patch
Index: path_redirect.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/path_redirect/path_redirect.module,v
retrieving revision 1.3.2.27
diff -u -p -r1.3.2.27 path_redirect.module
--- path_redirect.module	2 Feb 2008 02:26:54 -0000	1.3.2.27
+++ path_redirect.module	14 Feb 2008 11:44:54 -0000
@@ -40,7 +40,7 @@ function path_redirect_init() {
   }
 
   // only redirect if allow_bypass is off or bypass is not requested
-  if ($r && !(variable_get('path_redirect_allow_bypass', 0) && !empty($_GET['redirect']) && $_GET['redirect'] == 'no')) {
+  if ($r && !(variable_get('path_redirect_allow_bypass', 0) && !empty($_GET['redirect']) && $_GET['redirect'] == 'no') && url($r->redirect) != url($path)) {
     if (variable_get('path_redirect_redirect_warning', 0)) {
       drupal_set_message(t('This page has been moved. You may want to update your bookmarks.'));
     }
