Skip to content

Commit

Permalink
Ensure expired Set-Cookie not present on push as per spec (#12010)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
janbartel and gregw authored Jul 10, 2024
1 parent 2e5583d commit f5d6d8d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,10 @@ else if (o instanceof HttpCookie cookie && cookie.getName().equals(httpCookie.ge
}
continue;
}
cookies.add(httpCookie);
else
{
cookies.add(httpCookie);
}
}
}

Expand Down

0 comments on commit f5d6d8d

Please sign in to comment.