This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new ba463ab Fixed: Issue with redirect queryParameters when the user is logged out (OFBIZ-11714)
ba463ab is described below
commit ba463ab9bc60c4934e6a39615664ba62ea1d4836
Author: Pawan Verma <
[hidden email]>
AuthorDate: Tue May 19 17:21:11 2020 +0530
Fixed: Issue with redirect queryParameters when the user is logged out
(OFBIZ-11714)
In OFBIZ-10539, We missed removing the line which was adding parameters into the map as Ritesh suggested a good way to handle parameters. I've removed that redundant line of code and attaching a patch for the same.
---
framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
index 419e9ba..f08da5e 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
@@ -330,7 +330,6 @@ public final class UtilHttp {
int equalsIndex = token.indexOf("=");
if (equalsIndex > 0) {
String name = token.substring(0, equalsIndex);
- paramMap.put(name, token.substring(equalsIndex + 1));
String paramValue = UtilCodec.getDecoder("url").decode(token.substring(equalsIndex + 1));
if (UtilValidate.isEmpty(paramMap.get(name))) {
paramMap.put(name, paramValue);