@CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3436 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
391ecafe55
commit
3f8fc50b0f
|
|
@ -748,7 +748,7 @@ public class AnnotationMethodHandlerAdapter extends WebContentGenerator
|
||||||
return cookieValue;
|
return cookieValue;
|
||||||
}
|
}
|
||||||
else if (cookieValue != null) {
|
else if (cookieValue != null) {
|
||||||
return cookieValue.getValue();
|
return urlPathHelper.decodeRequestString(servletRequest, cookieValue.getValue());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue