[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 0c282282258ae4bf7b0c57a64e667b9056b982bb

Stefan Hornburg racke at rt.icdevgroup.org
Sun Jan 24 14:35:34 UTC 2010


       via  0c282282258ae4bf7b0c57a64e667b9056b982bb (commit)
      from  4b46c805342227ae98a80a80698130071c91fa68 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0c282282258ae4bf7b0c57a64e667b9056b982bb
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Sun Jan 24 09:32:40 2010 -0500

    check the URL passed from the dispatcher instead of the database record
    to avoid infinite redirections due to MySQL's case insensitivity

-----------------------------------------------------------------------

Summary of changes and diff:
 plugins/path_redirect/code/path_redirect.tag |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/path_redirect/code/path_redirect.tag b/plugins/path_redirect/code/path_redirect.tag
index 42e3198..11bba33 100644
--- a/plugins/path_redirect/code/path_redirect.tag
+++ b/plugins/path_redirect/code/path_redirect.tag
@@ -51,9 +51,9 @@ sub {
 			return;
 		}
 
-		if ($recref->{path_source} eq $recref->{path_target}) {
+		if ($source eq $recref->{path_target}) {
 			# redirection points to itself, move ahead
-			Log("Redirection for $recref->{source} points to itself.");
+			Log("Redirection for $source points to itself.");
 			return;
 		}	
 


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list