From 9a6ce66bd919a36e851989d9b18c8d8c61b9aeee Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 13 May 2019 18:57:54 +0900 Subject: [PATCH] Add a missing single quote in assertion message --- .../web/servlet/resource/ResourceUrlEncodingFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java index 96578d5198..c5fd76683b 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java @@ -98,7 +98,7 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean { String lookupPath = pathHelper.getLookupPathForRequest(this); this.indexLookupPath = requestUri.lastIndexOf(lookupPath); Assert.isTrue(this.indexLookupPath != -1, () -> - "Failed to find lookupPath '" + lookupPath + "' within requestUri '" + requestUri + ". " + + "Failed to find lookupPath '" + lookupPath + "' within requestUri '" + requestUri + "'. " + "Does the path have invalid encoded characters " + "for characterEncoding=" + getRequest().getCharacterEncoding() + "?"); this.prefixLookupPath = requestUri.substring(0, this.indexLookupPath);