Skip to content

cookie: improve TAB handling - #22699

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/cookie-tab
Closed

bagder wants to merge 2 commits into
masterfrom
bagder/cookie-tab

Conversation

@bagder

@bagder bagder commented Aug 27, 2026

Copy link
Copy Markdown
Member

For entries with a leading tab. Verified in test 2885.

Reported-by: Stanislav Fort

For entries with a leading tab. Verified in test 2885.

Reported-by: Stanislav Fort
@bagder bagder added the cookies label Aug 27, 2026
@github-actions github-actions Bot added the tests label Aug 27, 2026
@bagder
bagder marked this pull request as ready for review August 27, 2026 06:39
@bagder
bagder requested a balanced review from Copilot August 27, 2026 06:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Improves cookie parsing so tab-prefixed attributes such as Secure are recognized.

Changes:

  • Allows tabs within parsed cookie segments before trimming whitespace.
  • Adds HTTPS regression coverage for tab-prefixed Secure.
  • Registers test 2885.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
lib/cookie.c Corrects tab handling in cookie parsing.
tests/data/test2885 Tests tab-prefixed cookie attributes.
tests/data/Makefile.am Registers the new test.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@testclutch

Copy link
Copy Markdown

Analysis of PR #22699 at d9f44109:

Test 2885 failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 72 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder bagder closed this in 4f6aa41 Aug 27, 2026
@bagder
bagder deleted the bagder/cookie-tab branch August 27, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants