it happens line 67-69 in the source code of SpringFormEncoder.class, because each file has same file.getName().. **``` if (bodyType.equals(MultipartFile[].class)) { val files = (MultipartFile[]) object; val data = new HashMap(files.length, 1.F); for (val file : files) { data.put(file.getName(), file); } super.encode(data, MAP_STRING_WILDCARD, template); }

Comment From: Been24

???

Comment From: ryanjbaxter

Please learn how to format code on GitHub.

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

Please also provide steps to reproduce the issue and a better description of the problem.