This is an automated email from the ASF dual-hosted git repository.
pawan 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 aea665a Fixed: Issue with redirect queryParameters when the user is logged out (OFBIZ-11714)
aea665a is described below
commit aea665a0e72fb34c247fc85294d7094b22b2633b
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 7074348..b54d613 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
@@ -304,7 +304,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);