Of course I realized about 2 seconds after I committed <user
name=yvi>'s patch that the regexp wasn't anchored.
Patch by kareila.
diffs (12 lines):
diff -r 56ee98363f00 -r 8d1a1d18e743 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm Tue Mar 30 21:43:34 2010 -0500
+++ b/cgi-bin/Apache/LiveJournal.pm Tue Mar 30 21:51:29 2010 -0500
@@ -660,7 +660,7 @@ sub trans
$ret = DW::Routing->call( username => $user ) unless defined $ret;
return $ret if defined $ret;
- if ($uuri =~ m#tags(.*)#) {
+ if ($uuri =~ m#^/tags(.*)#) {
return redir($r, "/tag$1");
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog