JENKINS-64650: Upgrade Commons FileUpload from 1.3.1-jenkins-2 to 1.4 (#5174)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Basil Crowanddependabot[bot] authored and GitHub committed 2021-02-01 08:20:19 +00:00
1 parent 94c96e214f
commit 887296fcd0
2 files changed
+4 -1

No files matched your search

@@ -1771,6 +1771,9 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
File t = File.createTempFile("uploaded", ".jpi");
t.deleteOnExit();
try {
// TODO Remove this workaround after FILEUPLOAD-293 is resolved.
t.delete();
fileItem.write(t);
} catch (Exception e) {
// Exception thrown is too generic so at least limit the scope where it can occur