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 2006/11/04 01:56:11 UTC
svn commit: r471087 -
/incubator/roller/branches/roller_3.1/src/org/apache/roller/util/URLUtilities.java
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);