mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user