myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sobr...@apache.org
Subject svn commit: r1564553 - /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java
Date Tue, 04 Feb 2014 23:02:34 GMT
Author: sobryan
Date: Tue Feb  4 23:02:33 2014
New Revision: 1564553

URL: http://svn.apache.org/r1564553
Log:
TRINIDAD-2441 - URLUtil to escape a URL and remove invalid characters	
* Fixed an issue with encoding.

Modified:
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java?rev=1564553&r1=1564552&r2=1564553&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/URLUtils.java
Tue Feb  4 23:02:33 2014
@@ -127,7 +127,7 @@ public final class URLUtils
         for(byte b: Character.toString(c).getBytes(charset))
         {
           sb.append("%")
-            .append(String.format("%02X ", b));
+            .append(String.format("%02X", b));
         }
       }
     }



Mime
View raw message