You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2020/05/19 11:54:49 UTC

[ofbiz-framework] branch release17.12 updated: Fixed: Issue with redirect queryParameters when the user is logged out (OFBIZ-11714)

This is an automated email from the ASF dual-hosted git repository.

pawan 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 d913366  Fixed: Issue with redirect queryParameters when the user is logged out (OFBIZ-11714)
d913366 is described below

commit d913366851f70b67a3c4c754ac713904a0604002
Author: Pawan Verma <pa...@hotwaxsystems.com>
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 bbebbfe..108a428 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);