UrlPathHelper usage in SPR
OK:
PathExtensionContentNegotiationStrategy
sets theurlDecode
tofalse
WebAsyncManager
,DispatcherServlet
andNoSuchRequestHandlingMethodException
use it only for logging purposes (the latter in a weird way)
Candidate:
AbstractHandlerMapping
AbstractUrlViewController
WebContentInterceptor
AnnotationMethodHandlerAdapter
AbstractUrlMethodNameResolver
DefaultRequestToViewNameTranslator
Problematic:
PatternsRequestCondition
creates an instance internally, no config thereServletCookieValueMethodArgumentResolver
decodes a cookie value, potentially according to the request encoding! No usage for the setter so it uses default settings by default.AbstractFlashMapManager
andRequestContext
are also affected by that exact same issueServletUriComponentsBuilder
might very well take a wrong decision in case of encoding mismatch