portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddew...@apache.org
Subject svn commit: rev 54951 - portals/pluto/branches/pluto-1.1/portal/src/java/org/apache/pluto/driver/core
Date Sun, 17 Oct 2004 05:01:56 GMT
Author: ddewolf
Date: Sat Oct 16 22:01:55 2004
New Revision: 54951

Modified:
   portals/pluto/branches/pluto-1.1/portal/src/java/org/apache/pluto/driver/core/PortalUrlParser.java
Log:
Fixing bug: Action parameters with null value ( ?key=&another= ) were translated to a
value of "null".

Modified: portals/pluto/branches/pluto-1.1/portal/src/java/org/apache/pluto/driver/core/PortalUrlParser.java
==============================================================================
--- portals/pluto/branches/pluto-1.1/portal/src/java/org/apache/pluto/driver/core/PortalUrlParser.java
(original)
+++ portals/pluto/branches/pluto-1.1/portal/src/java/org/apache/pluto/driver/core/PortalUrlParser.java
Sat Oct 16 22:01:55 2004
@@ -182,7 +182,7 @@
     private String encode(String[] values) {
         String value = "";
         for (int i = 0; i < values.length; i++) {
-            value += values[i];
+            value += values[i]==null?"":values[i];
             if (i + 1 != values.length) {
                 value += ",";
             }

Mime
View raw message