Closed
Description
Affects: 6.1.12 (but can not say since when exactly, older versions are probably also affected) + Jetty 12.0.12
Parts w/o filename in content disposition header are missing in AbstractMultipartHttpServletRequest.getMultiFileMap()
. Because of this part.delete()
is skipped in the resolver.
The relevant logic to filter out such parts is in
the logic to ignore parts which are not part of the filemap is here:
Should we cleanup those parts by ourself? Not sure whether there are other dependencies (why it should not be part of filemap e.g.) but our fix is currently to overwrite the StandardServletMultipartResolver
and delete the part nevertheless its contained or not in the filemap)