mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-5401 Fixes typo
Co-authored-by: Sebastian Peters <sebastian.peters@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user