Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoNotAllowDuplicateSetCookies http channel config option is not working #24077

Closed
loriadi opened this issue Jan 26, 2023 · 0 comments · Fixed by #24082
Closed

DoNotAllowDuplicateSetCookies http channel config option is not working #24077

loriadi opened this issue Jan 26, 2023 · 0 comments · Fixed by #24082
Assignees
Labels
in:Transport release bug This bug is present in a released version of Open Liberty release:23002 team:Sirius

Comments

@loriadi
Copy link
Contributor

loriadi commented Jan 26, 2023

Describe the bug
The http channel config property DoNotAllowDuplicateSetCookies=true, when set, still allows duplicate set-cookie cookies in http responses.

Steps to Reproduce
Set the on the httpEndPoint in server.xml. Have an application create two Set-Cookie headers with the same cookie name. When the property is set, the duplicate header should be removed from the response.

Expected behavior
The http response should not be sent with duplicate Set-Cookie cookies.

Diagnostic information:

  • OpenLiberty Version: [e.g. 20.0.0.3 - 23.0.0.1]
  • Affected feature(s): setvlet-4.0, servlet-3.1
  • Java Version: n/a
  • server.xml configuration
servlet-4.0
@loriadi loriadi added the release bug This bug is present in a released version of Open Liberty label Jan 26, 2023
@pnicolucci pnicolucci added this to General Issues in Web Tier Team via automation Feb 3, 2023
@pnicolucci pnicolucci moved this from General Issues to Completed Tasks in Web Tier Team Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Transport release bug This bug is present in a released version of Open Liberty release:23002 team:Sirius
Projects
Archived in project
Web Tier Team
  
Completed Tasks
Development

Successfully merging a pull request may close this issue.

3 participants