Merge branch '5.3.x' into main

This commit is contained in:
Rossen Stoyanchev
2021-12-09 15:35:21 +00:00
10 changed files with 56 additions and 36 deletions

View File

@@ -577,8 +577,8 @@ public class UrlPathHelper {
return UriUtils.decode(source, enc);
}
catch (UnsupportedCharsetException ex) {
if (logger.isWarnEnabled()) {
logger.warn("Could not decode request string [" + source + "] with encoding '" + enc +
if (logger.isDebugEnabled()) {
logger.debug("Could not decode request string [" + source + "] with encoding '" + enc +
"': falling back to platform default encoding; exception message: " + ex.getMessage());
}
return URLDecoder.decode(source);