-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement
Milestone
Description
Related to #6220
The CookieCsrfTokenRepository
attempts to use the setHttpOnly
method only if that method is available in javax.servlet.http.Cookie
.
Since Spring Framework 5.0 has a Servlet Spec baseline of 3.1, this check is no longer necessary.
We should always use the setHttpOnly
method and remove any corresponding Servlet 2.5 or 3.0 tests.
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement