sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r620595 - /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java
Date Mon, 11 Feb 2008 19:49:59 GMT
Author: fmeschbe
Date: Mon Feb 11 11:49:39 2008
New Revision: 620595

URL: http://svn.apache.org/viewvc?rev=620595&view=rev
Log:
SLING-242 Intermediate fix just not decoding the value (again)

Modified:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java?rev=620595&r1=620594&r2=620595&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java
(original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java
Mon Feb 11 11:49:39 2008
@@ -107,7 +107,7 @@
         if (encoding != null) {
             try {
                 String value = new String(data, Util.ENCODING_DIRECT);
-                return URLDecoder.decode(value, encoding);
+                return value; // URLDecoder.decode(value, encoding);
             } catch (UnsupportedEncodingException uue) {
                 // not expected, use default encoding anyway ...
             } catch (IllegalArgumentException iae) {



Mime
View raw message