mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-5461 Extends UploadedFile with inputName field
This commit is contained in:
+1
@@ -71,6 +71,7 @@ public class PellMultiPartRequest extends AbstractMultiPartRequest {
|
||||
return new UploadedFile[]{StrutsUploadedFile.Builder.create(multi.getFile(fieldName))
|
||||
.withContentType(multi.getContentType(fieldName))
|
||||
.withOriginalName(multi.getFileSystemName(fieldName))
|
||||
.withInputName(fieldName)
|
||||
.build()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user