This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new f99256af68 Align with 11.0.x / 12.0.x
f99256af68 is described below

commit f99256af6888801574d6149557fc781689ae7e65
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed May 21 15:31:04 2025 +0100

    Align with 11.0.x / 12.0.x
---
 java/org/apache/catalina/connector/Request.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/connector/Request.java 
b/java/org/apache/catalina/connector/Request.java
index 087d5d62a5..6044db1ae8 100644
--- a/java/org/apache/catalina/connector/Request.java
+++ b/java/org/apache/catalina/connector/Request.java
@@ -2514,11 +2514,10 @@ public class Request implements HttpServletRequest {
             } else {
                 if (explicit) {
                     partsParseException = new 
IllegalStateException(sm.getString("coyoteRequest.noMultipartConfig"));
-                    return;
                 } else {
                     parts = Collections.emptyList();
-                    return;
                 }
+                return;
             }
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to