Allow use of /tags in user space (redirects to /tag).

        Patch by yvi. 

diffs (14 lines):

diff -r e568ee8d1fd3 -r 56ee98363f00 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm     Sun Mar 28 07:05:10 2010 -0700
+++ b/cgi-bin/Apache/LiveJournal.pm     Tue Mar 30 21:43:34 2010 -0500
@@ -659,6 +659,10 @@ sub trans
         my $ret = LJ::URI->handle($uuri, $r);
         $ret = DW::Routing->call( username => $user ) unless defined $ret;
         return $ret if defined $ret;
+
+        if ($uuri =~ m#tags(.*)#) {
+            return redir($r, "/tag$1");
+        }
 
         if ($uuri eq "/__setdomsess") {
             return redir($r, LJ::Session->setdomsess_handler($r));
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to