Closed Abderrahman-byte closed 2 years ago
Servlet 6.0 adds generic attribute support. We will no longer be adding support for specific attributes to this class.
Okey thank you I did not know that.
I think this issue should be reopened and implemented in Servlet 6.1
The SameSite attribute it's too important to be declassed as a generic attribute, there are a lot of conseguences around not setting or setting the wrong value!
If I use the generic setAttribute method and make a typo, the webapp may no longer work properly!
For real world developers it's really important to have a set-in-stone fundamental attribute like this one
https://web.dev/articles/samesite-cookie-recipes?hl=en https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#creating_cookies
Servlet 6.0 adds generic attribute support. We will no longer be adding support for specific attributes to this class.