@CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)

This commit is contained in:
Juergen Hoeller
2010-06-20 19:21:00 +00:00
parent de06de11fe
commit b2204ec94e

View File

@@ -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;