Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure Tomcat to create upload targets
Previously, if the directory to which Tomcat would write a file upload did not exist the upload attempt would fail and a 500 response would be returned to the client. This could happen when, for example, Tomcat is using a temporary directory for file uploads and tmpwatch has deleted the directory. This commit configures Tomcat so that, during multipart request parsing, it will automatically create the directory to which the parts will be written if it does not already exist. Closes gh-9616
- Loading branch information
1 parent
f8bd066
commit 70eee61
Showing
3 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters