You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/10/19 20:29:40 UTC
svn commit: r326631 -
/incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java
Author: agilliland
Date: Wed Oct 19 11:29:38 2005
New Revision: 326631
URL: http://svn.apache.org/viewcvs?rev=326631&view=rev
Log:
fix for bug that was clobbering the main rss feed.
Modified:
incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java
Modified: incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java?rev=326631&r1=326630&r2=326631&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java (original)
+++ incubator/roller/branches/roller_2.0/src/org/roller/presentation/filters/IfModifiedFilter.java Wed Oct 19 11:29:38 2005
@@ -182,9 +182,9 @@
{
handle = pathInfoArray[0];
}
- else if (pathInfoArray.length > 1)
+ else if (handle == null || pathInfoArray.length > 1)
{
- // request is for a specific date or anchor, can't return 304
+ // request for main page or specific date/anchor, can't return 304
return null;
}