ppkarwasz commented on code in PR #481:
URL: 
https://github.com/apache/commons-fileupload/pull/481#discussion_r3652934698


##########
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:
   Sorry, you are right about the fact that I didn't have checked out your PR 
in my IDE, but my point is not that no test hits that line, but that no test 
exercise the behavioral change you introduced on the `multipart/related` line.
   
   Although your code is correct, no test throws on line 175.



-- 
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]

Reply via email to