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/08/01 23:28:18 UTC
svn commit: r427740 -
/incubator/roller/branches/roller_3.0/src/org/apache/roller/util/URLUtilities.java
Author: agilliland
Date: Tue Aug 1 14:28:18 2006
New Revision: 427740
URL: http://svn.apache.org/viewvc?rev=427740&view=rev
Log:
only include cat in url if it has a non-empty value.
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=427740&r1=427739&r2=427740&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 Tue Aug 1 14:28:18 2006
@@ -200,7 +200,7 @@
url.append("feed/").append(type).append("/").append(format);
Map params = new HashMap();
- if(category != null) {
+ if(category != null && category.trim().length() > 0) {
params.put("cat", encode(category));
}
if(excerpts) {