Skip to content

[Issue-259] SameSite attribute is not preserved#262

Merged
dsmiley merged 6 commits into
mitre:masterfrom
nils-christian:issue-259-tomcat
Apr 28, 2026
Merged

[Issue-259] SameSite attribute is not preserved#262
dsmiley merged 6 commits into
mitre:masterfrom
nils-christian:issue-259-tomcat

Conversation

@nils-christian
Copy link
Copy Markdown
Contributor

Disclaimer: This PR has been implemented with the help of Claude Code.

These changes fix #259 and bump the servlet API to 6.0.0. Due to the discussion in #260 Jetty has been replaced with Tomcat.

@dsmiley dsmiley self-requested a review April 20, 2026 02:16
@dsmiley
Copy link
Copy Markdown
Collaborator

dsmiley commented Apr 20, 2026

Looks good; thanks! I set the version back to 2.1 since it doesn't quite seem major-version worthy. I also added a NoSuchMethod check to hopefully keep Servlet 5.0.0 support... albeit not tested.

@dsmiley
Copy link
Copy Markdown
Collaborator

dsmiley commented Apr 21, 2026

LMK if looks good to you. If so I'll merge and release this week.

@nils-christian
Copy link
Copy Markdown
Contributor Author

Hi @dsmiley ,

Looks good to me, but I think the comment in the try-catch-block is misleading, as Servlet 5.0 is already jakarta - it is just missing the method.

Conterproposal: "Servlet 6.0+ only; SameSite not preserved on older versions (e.g. Servlet 5.0)"

@nils-christian
Copy link
Copy Markdown
Contributor Author

Looks good to me, @dsmiley . As far as I am concerned this can be merged and the ticket can be closed :-)

@dsmiley dsmiley merged commit c799c5e into mitre:master Apr 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SameSite attribute is not preserved

2 participants