From c3201812754a1426c43ef2b55ff142dc954939c7 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 6 Mar 2024 14:35:53 +0100 Subject: [PATCH] WW-5401 Fixes typo Co-authored-by: Sebastian Peters --- .../src/main/java/org/apache/struts2/dispatcher/Dispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java index fadbc1bd9..b879dad5a 100644 --- a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java +++ b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java @@ -1033,7 +1033,7 @@ public class Dispatcher { boolean isPostRequest = REQUEST_POST_METHOD.equalsIgnoreCase(httpMethod); boolean isProperContentType = contentType != null && multipartValidationPattern.matcher(contentType.toLowerCase(Locale.ENGLISH)).matches(); - LOG.debug("Validating if this is proper Multipart request. Request is POST: {} and ContentType matches pattern ({}): {}", + LOG.debug("Validating if this is a proper Multipart request. Request is POST: {} and ContentType matches pattern ({}): {}", isPostRequest, multipartValidationPattern, isProperContentType); return isPostRequest && isProperContentType; }