This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 41bbf15 Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)
41bbf15 is described below
commit 41bbf1593364e7f65191805d809ce9a04e5eacda
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 a20e1f9..7c7535b 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
@@ -244,7 +244,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);