[ofbiz-framework] branch release17.12 updated: Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release17.12 updated: Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new a353cda  Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)
a353cda is described below

commit a353cda8b6f5ae4fa5dd0706b7885b6402488f76
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Mon Sep 14 11:18:19 2020 +0200

    Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)
   
    This has been already fixed (an clearly explained) in OFBIZ-10275 and broken
    again in OFBIZ-11822
   
    Thanks: Pradeep Choudhary
---
 framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
index b01ec92..4e3d5b9 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
@@ -240,7 +240,7 @@ public class UtilCodec {
 
         public String decode(String original) {
             try {
-                original = canonicalize(original);
+                canonicalize(original);
                 return URLDecoder.decode(original, "UTF-8");
             } catch (UnsupportedEncodingException ee) {
                 Debug.logError(ee, module);