Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(http): prevent caching of responses with Set-Cookie headers#69447

Closed
SkyZeroZx wants to merge 1 commit into
angular:21.2.xangular/angular:21.2.xfrom
SkyZeroZx:backport/69385-to-21.2.xSkyZeroZx/angular:backport/69385-to-21.2.xCopy head branch name to clipboard
Closed

fix(http): prevent caching of responses with Set-Cookie headers#69447
SkyZeroZx wants to merge 1 commit into
angular:21.2.xangular/angular:21.2.xfrom
SkyZeroZx:backport/69385-to-21.2.xSkyZeroZx/angular:backport/69385-to-21.2.xCopy head branch name to clipboard

Conversation

@SkyZeroZx

Copy link
Copy Markdown
Contributor

Backport of #69385 to 21.2.x.

Cherry-picks 80795de.

Skip HttpTransferCache serialization for HTTP responses that contain a
Set-Cookie header.

Cookie-setting responses commonly represent session-specific,
user-specific, or security-sensitive state. Serializing their bodies into
SSR TransferState can embed sensitive data into the generated HTML, where
it may be reused during hydration or replayed by a shared cache/CDN.

(cherry picked from commit 80795de)
@pullapprove pullapprove Bot requested a review from kirjs June 19, 2026 15:10
@angular-robot angular-robot Bot added the area: common/http Issues related to HTTP and HTTP Client label Jun 19, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 19, 2026
@SkyZeroZx SkyZeroZx closed this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: common/http Issues related to HTTP and HTTP Client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.