This is an automated email from the ASF dual-hosted git repository. mbrohl pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 211c192 Provide a FileItem entry in UtilHttp.getMultiPartParameterMap. (OFBIZ-11346) 211c192 is described below commit 211c1924a577177e642b8e471a39cdb95f161495 Author: Michael Brohl <mbr...@apache.org> AuthorDate: Sat Feb 22 11:57:11 2020 +0100 Provide a FileItem entry in UtilHttp.getMultiPartParameterMap. (OFBIZ-11346) --- framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java | 1 + 1 file changed, 1 insertion(+) 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 ad0f3ac..84ab2cb 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 @@ -273,6 +273,7 @@ public final class UtilHttp { } } multiPartMap.put(fieldName, ByteBuffer.wrap(item.get())); + multiPartMap.put("_" + fieldName + "_fileItem", item); multiPartMap.put("_" + fieldName + "_size", item.getSize()); multiPartMap.put("_" + fieldName + "_fileName", fileName); multiPartMap.put("_" + fieldName + "_contentType", item.getContentType());