svnno****@sourc*****
svnno****@sourc*****
2008年 7月 23日 (水) 21:09:42 JST
Revision: 720 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=720 Author: tach Date: 2008-07-23 21:09:41 +0900 (Wed, 23 Jul 2008) Log Message: ----------- * Fix journals URL (remove "top") - top recent: /journals/top/recent -> /journals/recent - top posters: /journals/top/posters -> /journals/posters - you can access old URL Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm slashjp/branches/2.5.0.192/debian/changelog -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm 2008-07-23 11:53:45 UTC (rev 719) +++ slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm 2008-07-23 12:09:41 UTC (rev 720) @@ -596,11 +596,14 @@ if ($uri =~ m!^/journals (?: /([^?]*) | /? ) (?: \?(.*) )? $!x) { my($word, $query) = ($1, $2); my @args = ($query); + $word =~ s!/+$!!; $word =~ s{/}{_}g; if ($word =~ /^(recent|friends|posters)/) { $word = "top_$word"; } elsif ($word eq "rss") { $word = "top_recent_rss"; + } elsif ($word eq "") { + $word = "top"; } if ($word =~ /^(.+)_rss$/) { $word = $1; Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-07-23 11:53:45 UTC (rev 719) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-07-23 12:09:41 UTC (rev 720) @@ -1,3 +1,12 @@ +slash (2.5.0.192-17) unstable; urgency=low + + * Fix journals URL (remove "top") + - top recent: /journals/top/recent -> /journals/recent + - top posters: /journals/top/posters -> /journals/posters + - you can access old URL + + -- Taku YASUI <tach****@osdn*****> Wed, 23 Jul 2008 12:07:54 +0000 + slash (2.5.0.192-16) unstable; urgency=low * Fix for reason_modifier setting for users.pl