diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java index 8b4c85ec71..3ff774b761 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java @@ -748,7 +748,7 @@ public class AnnotationMethodHandlerAdapter extends WebContentGenerator return cookieValue; } else if (cookieValue != null) { - return cookieValue.getValue(); + return urlPathHelper.decodeRequestString(servletRequest, cookieValue.getValue()); } else { return null;