WW-5401 Fixes typo

Co-authored-by: Sebastian Peters <sebastian.peters@gmail.com>
This commit is contained in:
Lukasz Lenart
2024-03-06 14:35:53 +01:00
committed by GitHub
parent f459981022
commit c320181275
@@ -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;
}