mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
@CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user