roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r382916 - in /incubator/roller/trunk/src/org/roller/presentation/filters: FeedCacheFilter.java IfModifiedFeedCacheFilter.java IfModifiedWeblogPageCacheFilter.java WeblogPageCacheFilter.java
Date Fri, 03 Mar 2006 19:39:35 GMT
Author: agilliland
Date: Fri Mar  3 11:39:34 2006
New Revision: 382916

URL: http://svn.apache.org/viewcvs?rev=382916&view=rev
Log:
convert weblog handles to lowercase in cache keys.  part of fix for ROL-1066.


Modified:
    incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java
    incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedFeedCacheFilter.java
    incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedWeblogPageCacheFilter.java
    incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java?rev=382916&r1=382915&r2=382916&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java Fri Mar
 3 11:39:34 2006
@@ -196,7 +196,7 @@
         key.append(feedRequest.getContext());
         
         if(feedRequest.getContext().equals("weblog")) {
-            key.append("/").append(feedRequest.getWeblogHandle());
+            key.append("/").append(feedRequest.getWeblogHandle().toLowerCase());
             key.append("/").append(feedRequest.getFlavor());
             
             if(feedRequest.getWeblogCategory() != null) {

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedFeedCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedFeedCacheFilter.java?rev=382916&r1=382915&r2=382916&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedFeedCacheFilter.java
(original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedFeedCacheFilter.java
Fri Mar  3 11:39:34 2006
@@ -203,7 +203,7 @@
         key.append(feedRequest.getContext());
         
         if(feedRequest.getContext().equals("weblog")) {
-            key.append("/").append(feedRequest.getWeblogHandle());
+            key.append("/").append(feedRequest.getWeblogHandle().toLowerCase());
             key.append("/").append(feedRequest.getFlavor());
             
             if(feedRequest.getWeblogCategory() != null) {

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedWeblogPageCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedWeblogPageCacheFilter.java?rev=382916&r1=382915&r2=382916&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedWeblogPageCacheFilter.java
(original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/IfModifiedWeblogPageCacheFilter.java
Fri Mar  3 11:39:34 2006
@@ -170,7 +170,7 @@
         
         StringBuffer key = new StringBuffer();
         key.append("weblog/");
-        key.append(pageRequest.getWeblogHandle());
+        key.append(pageRequest.getWeblogHandle().toLowerCase());
         key.append("/page/");
         key.append(pageRequest.getWeblogPage());
         

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java?rev=382916&r1=382915&r2=382916&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java
(original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java
Fri Mar  3 11:39:34 2006
@@ -194,7 +194,7 @@
         
         StringBuffer key = new StringBuffer();
         key.append("weblog/");
-        key.append(pageRequest.getWeblogHandle());
+        key.append(pageRequest.getWeblogHandle().toLowerCase());
         key.append("/page/");
         key.append(pageRequest.getPageType());
         



Mime
View raw message