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/07/29 01:13:39 UTC

svn commit: r426696 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java

Author: agilliland
Date: Fri Jul 28 16:13:39 2006
New Revision: 426696

URL: http://svn.apache.org/viewvc?rev=426696&view=rev
Log:
encode the category value, not the string "cat".  duh.


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

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java?rev=426696&r1=426695&r2=426696&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java Fri Jul 28 16:13:39 2006
@@ -232,7 +232,7 @@
             
             // other stuff only makes sense if there is a query
             if(category != null) {
-                params.put("cat", encode("cat"));
+                params.put("cat", encode(category));
             }
             if(pageNum > 0) {
                 params.put("page", Integer.toString(pageNum));