mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:30:28 +00:00
Return sameSite cookie value in Jetty response
Closes gh-37025
This commit is contained in:
committed by
Brian Clozel
parent
d6f5356db1
commit
a69fe71630
+2
-3
@@ -212,9 +212,8 @@ class JettyCoreServerHttpResponse extends AbstractServerHttpResponse implements
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable SameSite getSameSite() {
|
||||
// Adding non-null return site breaks tests.
|
||||
return null;
|
||||
public SameSite getSameSite() {
|
||||
return SameSite.from(this.responseCookie.getSameSite());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user