[Bug 64384] is ignored when there is no element specified

2020-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64384 --- Comment #4 from Christopher Schultz --- Created attachment 37199 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37199=edit Proposed patch -- You are receiving this mail because: You are the assignee for the bug.

[Bug 64384] is ignored when there is no element specified

2020-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64384 --- Comment #3 from Christopher Schultz --- I think I've found the problem, at ContextConfig:1355: 1355MultipartDef multipartdef = servlet.getMultipartDef(); 1356if (multipartdef != null) { 1357 if

[Bug 64384] is ignored when there is no element specified

2020-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64384 --- Comment #2 from Remy Maucherat --- Ok, ok, the check here looks inaccurate: https://github.com/apache/tomcat/blob/master/java/org/apache/catalina/startup/ContextConfig.java#L1365 Unless all are set, only the location would be used. --

[Bug 64384] is ignored when there is no element specified

2020-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64384 --- Comment #1 from Christopher Schultz --- Created attachment 37198 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37198=edit Sample WAR file which reproduces the issue This WAR file (including source) will work as expected: 1.