Ensure expired Set-Cookie not present on push as per spec (#12010)

* Ensure expired Set-Cookie not present on push as per spec

* Update jetty-ee11/jetty-ee11-servlet/src/main/java/org/eclipse/jetty/ee11/servlet/ServletApiRequest.java

Co-authored-by: Greg Wilkins <gregw@webtide.com>

---------

Co-authored-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Jan Bartel 2024-07-11 07:58:04 +10:00 committed by GitHub
parent 2e5583d7ff
commit f5d6d8d076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -795,7 +795,10 @@ public class ServletApiRequest implements HttpServletRequest
}
continue;
}
cookies.add(httpCookie);
else
{
cookies.add(httpCookie);
}
}
}