Skip to content

[UNDERTOW-2603] Fix double cookie on quoted value#1790

Merged
fl4via merged 1 commit into
undertow-io:mainfrom
baranowb:UNDERTOW-2603
Mar 3, 2026
Merged

[UNDERTOW-2603] Fix double cookie on quoted value#1790
fl4via merged 1 commit into
undertow-io:mainfrom
baranowb:UNDERTOW-2603

Conversation

@baranowb
Copy link
Copy Markdown
Contributor

@baranowb baranowb commented Sep 10, 2025

Issue: https://issues.redhat.com/browse/UNDERTOW-2603

2.4.x PR: #1928
2.3.x PR: #1935
2.2.x PR: todo

@baranowb baranowb requested review from fl4via and ropalka September 10, 2025 13:43
@baranowb baranowb added bug fix Contains bug fix(es) under verification Currently being verified (running tests, reviewing) before posting a review to contributor waiting CI check Ready to be merged but waiting for CI check on hold PR awaits non CI/Review holdover labels Sep 10, 2025
@baranowb
Copy link
Copy Markdown
Contributor Author

Just so CI has a go.

Comment thread core/src/test/java/io/undertow/util/CookiesTestCase.java
}

static Map<String, Cookie> parseRequestCookies(int maxCookies, boolean allowEqualInValue, List<String> cookies, boolean commaIsSeperator, boolean allowHttpSepartorsV0) {
static Map<String, Cookie> parseRequestCookies(int maxCookies, boolean allowEqualInValue, List<String> cookies, boolean commaIsSeperator, boolean allowHttpSepartorsV0, boolean rfc6265ParsingDisabled){
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rfc6265ParsingDisabled - this is negative, but it seems it in line with default definitions.

@fl4via fl4via added next release This PR will be merged before next release or has already been merged (for payload double check) waiting PR update Awaiting PR update(s) from contributor before merging and removed under verification Currently being verified (running tests, reviewing) before posting a review to contributor waiting CI check Ready to be merged but waiting for CI check on hold PR awaits non CI/Review holdover next release This PR will be merged before next release or has already been merged (for payload double check) labels Jan 12, 2026
@fl4via
Copy link
Copy Markdown
Member

fl4via commented Jan 12, 2026

@baranowb we will need to work in the conflicts, and unfortunately this will require some rework of the parsing algorithm change contained in this PR

@baranowb
Copy link
Copy Markdown
Contributor Author

Yeah, sadly I knew it would be the case, might be that this wont be relevant now. due to other changes, still trying to verify if this is still issue or not.

@baranowb
Copy link
Copy Markdown
Contributor Author

Yeah, the bug is still there, just mitigated by other code.

@fl4via fl4via added waiting CI check Ready to be merged but waiting for CI check and removed waiting PR update Awaiting PR update(s) from contributor before merging waiting CI check Ready to be merged but waiting for CI check labels Jan 15, 2026
@fl4via fl4via added next release This PR will be merged before next release or has already been merged (for payload double check) waiting CI check Ready to be merged but waiting for CI check and removed waiting CI check Ready to be merged but waiting for CI check labels Mar 3, 2026
@fl4via fl4via merged commit 69602dc into undertow-io:main Mar 3, 2026
85 of 86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Contains bug fix(es) next release This PR will be merged before next release or has already been merged (for payload double check)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants