ppkarwasz commented on code in PR #481:
URL:
https://github.com/apache/commons-fileupload/pull/481#discussion_r3652958509
##########
commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java:
##########
@@ -155,13 +172,10 @@ private boolean findNextItem() throws
FileUploadException, IOException {
}
final var headers =
fileUpload.getParsedHeaders(multi.readHeaders());
if (multipartRelated) {
+ checkMaxFileCount();
Review Comment:
What I had in mind is something like
https://github.com/apache/commons-fileupload/pull/481/commits/1a9a4a3d2658d6f43359e540965d9c1afbe04072
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]