Skip to content

Proxy header isolation - #156

Merged
haileyok merged 2 commits into
haileyok:mainfrom
pzurek:fix/proxy-header-isolation
Sep 25, 2026
Merged

haileyok merged 2 commits into
haileyok:mainfrom
pzurek:fix/proxy-header-isolation

Conversation

@pzurek

@pzurek pzurek commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

This keeps PDS cookies and other private headers away from upstream services, and stops upstream responses from setting cookies on the PDS.

Uses header allowlists based on the reference PDS, while preserving the protocol headers clients need. Permission checks are unchanged.

Tests cover header isolation, repeated values, gzip responses, and streamed POST bodies.

@pzurek pzurek changed the title Fix/proxy header isolation Proxy header isolation Sep 12, 2026
@haileyok
haileyok merged commit 151c721 into haileyok:main Sep 25, 2026
1 check 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.

2 participants