@CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
This commit is contained in:
parent
de06de11fe
commit
b2204ec94e
|
|
@ -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