commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r658426 - /commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java
Date Tue, 20 May 2008 20:55:38 GMT
Author: niallp
Date: Tue May 20 13:55:38 2008
New Revision: 658426

URL: http://svn.apache.org/viewvc?rev=658426&view=rev
Log:
CHAIN-43 - ChainListener URL translation does not work as expected - thanks to Ales Dolecek

Modified:
    commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java

Modified: commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java?rev=658426&r1=658425&r2=658426&view=diff
==============================================================================
--- commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java (original)
+++ commons/proper/chain/trunk/src/java/org/apache/commons/chain/web/ChainListener.java Tue
May 20 13:55:38 2008
@@ -369,7 +369,7 @@
             if (index < 0) {
                 break;
             }
-            value = value.substring(0, index) + value.substring(index + 1);
+            value = value.substring(0, index) + "%20" + value.substring(index + 1);
         }
         return (value);
 



Mime
View raw message