svnno****@sourc*****
svnno****@sourc*****
2008年 9月 17日 (水) 17:03:34 JST
Revision: 754 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=754 Author: tach Date: 2008-09-17 17:03:34 +0900 (Wed, 17 Sep 2008) Log Message: ----------- Fix redirect bug Modified Paths: -------------- slashjp/tags/2.5.0.192-18/Slash/Apache/Apache.pm -------------- next part -------------- Modified: slashjp/tags/2.5.0.192-18/Slash/Apache/Apache.pm =================================================================== --- slashjp/tags/2.5.0.192-18/Slash/Apache/Apache.pm 2008-09-17 07:45:26 UTC (rev 753) +++ slashjp/tags/2.5.0.192-18/Slash/Apache/Apache.pm 2008-09-17 08:03:34 UTC (rev 754) @@ -370,13 +370,16 @@ } elsif (defined($qs->{nick})) { $qs->{nick} =~ s/\+/%20/g; redirect("$constants->{absolutedir}/~$qs->{nick}/journal/rss", 301); + return DONE; } elsif (defined($qs->{type}) && $qs->{type} eq 'count' || $qs->{type} eq 'friends') { # not impremented (2008-09-16, tach) } else { redirect("$constants->{absolutedir}/journals/rss", 301); + return DONE; } } elsif ($r->the_request =~ m!\bcontent_type=rss\b! && $uri =~ m!/~([^/]+)/journal!i) { redirect("$constants->{absolutedir}/~".URI::Escape::uri_escape($1)."/journal/rss", 301); + return DONE; } # return shtml internally when AC