[Slashdotjp-dev 1185] [712] Allow firehose.pl for AC when the "id" is specified

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2008年 7月 22日 (火) 16:04:15 JST


Revision: 712
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=712
Author:   tach
Date:     2008-07-22 16:04:15 +0900 (Tue, 22 Jul 2008)

Log Message:
-----------
Allow firehose.pl for AC when the "id" is specified

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm	2008-07-21 14:22:22 UTC (rev 711)
+++ slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm	2008-07-22 07:04:15 UTC (rev 712)
@@ -456,7 +456,7 @@
 	}
 
 	if ($uri eq '/firehose.pl') {
-		$r->uri($is_user ? '/firehose.pl' : '/firehose.shtml');
+		$r->uri($is_user || $r->the_request =~ /\bid=\d+\b/ ? '/firehose.pl' : '/firehose.shtml');
 		return OK;
 	}
 

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-07-21 14:22:22 UTC (rev 711)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-07-22 07:04:15 UTC (rev 712)
@@ -26,8 +26,9 @@
   * Improve "polls/rss" performance using rss cache
     - Use variable "rss_cachedir"
     - cache creating task is not included in slash distribution
+  * Allow firehose.pl for AC when the "id" is specified
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 18 Jul 2008 04:16:34 +0000
+ -- Taku YASUI <tach****@osdn*****>  Tue, 22 Jul 2008 07:03:37 +0000
 
 slash (2.5.0.192-15) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index