roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r471087 - /incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java
Date Sat, 04 Nov 2006 00:56:11 GMT
Author: agilliland
Date: Fri Nov  3 16:56:10 2006
New Revision: 471087

URL: http://svn.apache.org/viewvc?view=rev&rev=471087
Log:
merging in changes from trunk revision 471086 which fixes a bug with category urls.


Modified:
    incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java

Modified: incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java?view=diff&rev=471087&r1=471086&r2=471087
==============================================================================
--- incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java (original)
+++ incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java Fri
Nov  3 16:56:10 2006
@@ -175,9 +175,7 @@
         }
         
         if(cat != null && dateString == null) {
-            // yes, for the path based versions we double encode the category
-            // because otherwise some characters cause problems, like "?"
-            pathinfo.append("category/").append(encode(encode(cat)));   
+            pathinfo.append("category/").append(encode(cat));
             
         } else if(dateString != null && cat == null) {
             pathinfo.append("date/").append(dateString);  



Mime
View raw message