Fixed: impersonateLogin

(OFBIZ-5409)

I reopended this old issue because, while working on  OFBIZ-11329, I found that
userLogin and impersonateLogin should be removed from
jsonResponseFromRequestAttributes

Thanks: James Yong for pointing that out

# Conflicts:
#	framework/common/src/main/java/org/apache/ofbiz/common/CommonEvents.java
This commit is contained in:
Jacques Le Roux
2020-02-04 15:48:46 +01:00
parent 77f7acebe8
commit b2e3cc717d
@@ -62,7 +62,7 @@ public class CommonEvents {
public static final String module = CommonEvents.class.getName();
private static final String[] ignoreAttrs = new String[] { // Attributes removed for security reason; _ERROR_MESSAGE_ is kept
private static final String[] ignoreAttrs = new String[] { // Attributes removed for security reason; _ERROR_MESSAGE_ and _ERROR_MESSAGE_LIST are kept
"javax.servlet.request.key_size",
"_CONTEXT_ROOT_",
"_FORWARDED_FROM_SERVLET_",
@@ -73,7 +73,10 @@ public class CommonEvents {
"targetRequestUri",
"_SERVER_ROOT_URL_",
"_CONTROL_PATH_",
"thisRequestUri"
"thisRequestUri",
"org.apache.tomcat.util.net.secure_protocol_version",
"userLogin",
"impersonateLogin"
};
public static String setFollowerPage(HttpServletRequest request, HttpServletResponse response) {