Skip to content

feat(pii): Scrub chunked cookies - #6392

Merged
loewenheim merged 2 commits into
masterfrom
sebastian/cookie-pii-chunked
Sep 16, 2026
Merged

loewenheim merged 2 commits into
masterfrom
sebastian/cookie-pii-chunked

Conversation

@loewenheim

Copy link
Copy Markdown
Contributor

This extends the regex that detects sensitive cookies to also cover variants suffixed with numbers, as in session__17.

Caveat: This only works for cookies sent as an array or string, not for cookies sent in individual keys, because there is no mechanism for glob- or pattern-based selectors.

Fixes RELAY-281. Fixes #6389.

@loewenheim
loewenheim requested a review from a team as a code owner September 16, 2026 10:33
@linear-code

linear-code Bot commented Sep 16, 2026

Copy link
Copy Markdown

RELAY-281

This extends the regex that detects sensitive cookies to also cover
variants suffixed with numbers, as in `session__17`.

Caveat: This only works for cookies sent as an array or string, not
for cookies sent in individual keys, because there is no mechanism for
glob- or pattern-based selectors.

Fixes RELAY-281. Fixes #6389.
@loewenheim
loewenheim force-pushed the sebastian/cookie-pii-chunked branch from 7470bcf to 99f2a15 Compare September 16, 2026 10:38
@loewenheim
loewenheim changed the base branch from sebastian/cookie-pii-response to master September 16, 2026 10:38
@loewenheim loewenheim self-assigned this Sep 16, 2026
@loewenheim
loewenheim added this pull request to the merge queue Sep 16, 2026
Merged via the queue into master with commit 7938cbd Sep 16, 2026
35 checks passed
@loewenheim
loewenheim deleted the sebastian/cookie-pii-chunked branch September 16, 2026 14:16
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.

Chunked session cookies (__session__0, __session__1) bypass default scrubbing

3 participants