Provide a FileItem entry in UtilHttp.getMultiPartParameterMap.
(OFBIZ-11346)
This commit is contained in:
@@ -276,6 +276,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());
|
||||
|
||||
Reference in New Issue
Block a user