René's URL Explorer Experiment


Title: Angular SSR route-policy confusion can expose client-only data under public cache headers · Issue #33555 · angular/angular-cli · GitHub

Open Graph Title: Angular SSR route-policy confusion can expose client-only data under public cache headers · Issue #33555 · angular/angular-cli

X Title: Angular SSR route-policy confusion can expose client-only data under public cache headers · Issue #33555 · angular/angular-cli

Description: Description Angular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms. Example: /profile; /profile//public In both cases, a route...

Open Graph Description: Description Angular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms. Example: /profile;...

X Description: Description Angular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms. Example: /profile;...

Opengraph URL: https://github.com/angular/angular-cli/issues/33555

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular SSR route-policy confusion can expose client-only data under public cache headers","articleBody":"### Description\n\nAngular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms.\n\nExample:\n\n```text\n/profile;\n/profile//public\n```\n\nIn both cases, a route configured as `RenderMode.Client` can be unexpectedly rendered on the server while inheriting public cache headers from another `ServerRoute`.\n\n### Minimal Reproduction\n\n\n### Minimal configuration\n\n```ts\nimport { RenderMode, ServerRoute } from '@angular/ssr';\n\nexport const serverRoutes: ServerRoute[] = [\n  {\n    path: 'profile',\n    renderMode: RenderMode.Client,\n    headers: {\n      'Cache-Control': 'private, no-store',\n    },\n  },\n  {\n    path: 'profile/public',\n    renderMode: RenderMode.Server,\n    headers: {\n      'Cache-Control': 'public, max-age=300',\n    },\n  },\n  {\n    path: '**',\n    renderMode: RenderMode.Server,\n    headers: {\n      'Cache-Control': 'public, max-age=300',\n    },\n  },\n];\n```\n\nThe `/profile` component reads a benign request-derived marker through the SSR `REQUEST` token.\n\n### Steps to reproduce\n\nRequest the normal client-only route:\n\n```bash\ncurl -i \\\n  -H 'Cookie: session=PRIVATE_VALUE' \\\n  http://localhost:4000/profile\n```\n\nThe initial HTML does not contain the request-derived value.\n\nRequest either crafted path:\n\n```bash\ncurl -i \\\n  -H 'Cookie: session=PRIVATE_VALUE' \\\n  'http://localhost:4000/profile;'\n```\n\n```bash\ncurl -i \\\n  -H 'Cookie: session=PRIVATE_VALUE' \\\n  http://localhost:4000/profile//public\n```\n\n### Actual behavior\n\nThe crafted requests can:\n\n- render the `/profile` component on the server;\n- expose request-derived data in the initial HTML;\n- apply `Cache-Control: public` metadata belonging to another server route.\n\n### Expected behavior\n\nThe route used to select `renderMode`, status, and response headers must always correspond to the route whose body is rendered.\n\nA route configured as `RenderMode.Client` should not be server-rendered through an alternative URL representation.\n\n\n\n### Your Environment\n\n```text\nAngular 22.X\n```\n\n### Anything else relevant?\n\nThis was previously reported at https://issuetracker.google.com/u/1/issues/518988455\n","author":{"url":"https://github.com/SkyZeroZx","@type":"Person","name":"SkyZeroZx"},"datePublished":"2026-07-12T22:42:45Z","url":"https://github.com/angular/angular-cli/issues/33555"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e09323e4-5883-a140-6401-b032ae8c8f50
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3AA:4141:34CE72:4C1A34:6AFDC8A6
html-safe-noncec0e33091a37e09d6afff646fffb23ae22cb6b4dfcf002218f60993753048ad80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0FBOjQxNDE6MzRDRTcyOjRDMUEzNDo2QUZEQzhBNiIsInZpc2l0b3JfaWQiOiI1NjAxMzM2Mjk3MjgxOTMxNDMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc1f6b0fcc7244558d5b05055d272f5c6a03f17efbc6ae6c4110f16dde27f6d8d
hovercard-subject-tagissue:4869063512
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/33555/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3d1f402b6ba9a16bc291b6f4b3e04288224674df6cfe589cf30c00754cde1195/angular/angular-cli/issues/33555
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d1f402b6ba9a16bc291b6f4b3e04288224674df6cfe589cf30c00754cde1195/angular/angular-cli/issues/33555
og:image:altDescription Angular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms. Example: /profile;...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSkyZeroZx
hostnamegithub.com
expected-hostnamegithub.com
None9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1b795ba060b92691fc16c5a12cf2bf95e83432b4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/33555#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F33555
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F33555
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/33555
Reloadhttps://github.com/angular/angular-cli/issues/33555
Reloadhttps://github.com/angular/angular-cli/issues/33555
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues196 (196)https://github.com/angular/angular-cli/issues
Pull requests20 (20)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33555
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33555
Angular SSR route-policy confusion can expose client-only data under public cache headershttps://github.com/angular/angular-cli/issues/33555#top
area: @angular/ssrhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fssr%22
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/SkyZeroZx
SkyZeroZxhttps://github.com/SkyZeroZx
on Jul 12, 2026https://github.com/angular/angular-cli/issues/33555#issue-4869063512
https://issuetracker.google.com/u/1/issues/518988455https://issuetracker.google.com/u/1/issues/518988455
angular-robothttps://github.com/apps/angular-robot
area: @angular/ssrhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fssr%22
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Jul 12, 2026https://github.com/angular/angular-cli/issues/33555#event-27882789873
angular-robothttps://github.com/apps/angular-robot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Jul 12, 2026https://github.com/angular/angular-cli/issues/33555#event-27882790198
alan-agius4https://github.com/alan-agius4
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
on Jul 13, 2026https://github.com/angular/angular-cli/issues/33555#event-27896298494
https://github.com/glivter
glivterhttps://github.com/glivter
on Sep 14, 2026https://github.com/angular/angular-cli/issues/33555#issuecomment-5671265503
#34090https://github.com/angular/angular-cli/issues/34090
#34090https://github.com/angular/angular-cli/issues/34090
angular/angular#64507https://github.com/angular/angular/pull/64507
#34091https://github.com/angular/angular-cli/pull/34091
85c18b4https://github.com/angular/angular-cli/commit/85c18b4ead77c6c090b9f5c63e9e034e58369152
glivterhttps://github.com/glivter
on Sep 14, 2026https://github.com/angular/angular-cli/issues/33555#event-31132664235
fix(@angular/ssr): resolve the request path through the router's URL …https://github.com/glivter/angular-cli/commit/6d6decb6af4cbd848772827e1fd14b408c2f33b0
https://docs.github.com/articles/closing-issues-via-commit-messages
6d6decbhttps://github.com/glivter/angular-cli/commit/6d6decb6af4cbd848772827e1fd14b408c2f33b0
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/33555
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33555
area: @angular/ssrhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fssr%22
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.