forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r355546 - /forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java
Date Fri, 09 Dec 2005 17:22:06 GMT
Author: rgardler
Date: Fri Dec  9 09:21:58 2005
New Revision: 355546

URL: http://svn.apache.org/viewcvs?rev=355546&view=rev
Log:
ooops... wrong kind of encoding, just convert spaces to %20 (FOR-736)

Modified:
    forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java

Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java?rev=355546&r1=355545&r2=355546&view=diff
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java (original)
+++ forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java Fri Dec  9
09:21:58 2005
@@ -290,7 +290,7 @@
         }
         
         if (location.startsWith("http:")) {
-        	location = URLEncoder.encode(location, "UTF-8");
+        	location.replaceAll(" ", "%20");
         }
         
         return location;



Mime
View raw message