Title: Angular SSR Setup denies accepting matrix params · Issue #31457 · angular/angular-cli · GitHub
Open Graph Title: Angular SSR Setup denies accepting matrix params · Issue #31457 · angular/angular-cli
X Title: Angular SSR Setup denies accepting matrix params · Issue #31457 · angular/angular-cli
Description: Which @angular/* package(s) are the source of the bug? @angular/ssr Is this a regression? Yes Description Angular SSR seems not to accept matrix params in URLs. Reproduction: App with SSR; then add Matrix params to the URL through the us...
Open Graph Description: Which @angular/* package(s) are the source of the bug? @angular/ssr Is this a regression? Yes Description Angular SSR seems not to accept matrix params in URLs. Reproduction: App with SSR; then add...
X Description: Which @angular/* package(s) are the source of the bug? @angular/ssr Is this a regression? Yes Description Angular SSR seems not to accept matrix params in URLs. Reproduction: App with SSR; then add...
Opengraph URL: https://github.com/angular/angular-cli/issues/31457
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular SSR Setup denies accepting matrix params","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\n`@angular/ssr`\n\n### Is this a regression?\n\nYes\n\n### Description\n\nAngular SSR seems not to accept matrix params in URLs.\n\nReproduction: App with SSR; then add Matrix params to the URL through the use of angulars `routerLink` like `\u003ca [routerLink]=\"['.', {foo:'bar'}]\">...\u003c/a>` - when clicked in running angular app it will work as expected since it runs only in the browser. \nwhen trying to request this new url with matrix params from the running ssr server it will fail because of those matrix params.\n\n`/home` --> works\n`/home;foo=bar` --> not working\n\n\n\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/angular-ssr-matrix-params-denial\n\n### Please provide the exception or error you saw\n\n```true\n`404 - Not Found`\n\n-- if there is a redirect configured with `**` in the angular `Routes` it would return a 302 to given route.\n```\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 20.3.5\nNode: 20.19.1\nPackage Manager: npm 10.8.2\nOS: linux x64\n \n\nAngular: 20.3.4\n... common, compiler, compiler-cli, core, platform-browser\n... platform-server, router\n\nPackage Version\n------------------------------------\n@angular-devkit/architect 0.2003.5\n@angular-devkit/core 20.3.5\n@angular-devkit/schematics 20.3.5\n@angular/build 20.3.5\n@angular/cli 20.3.5\n@angular/ssr 20.3.5\n@schematics/angular 20.3.5\nrxjs 7.8.2\ntypescript 5.9.3\n```\n\n### Anything else?\n\nWhen changing the route definition from using `path` to `matcher` function which does essentially the same as the path it works as expected.\n\n```ts\n{\n {\n // path: 'home',\n matcher: ([s0]) => (s0?.path === 'home' ? { consumed: [s0] } : null),\n loadChildren: () => import('./routes/home/home-routes')\n }\n}\n```","author":{"url":"https://github.com/mumenthalers","@type":"Person","name":"mumenthalers"},"datePublished":"2025-10-14T06:58:07Z","url":"https://github.com/angular/angular-cli/issues/31457"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:623cae94-ed49-1bed-130d-f4b318c94c7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86D8:369C3A:6256F9:8AB69B:6AFDCE64 |
| html-safe-nonce | 90eece282bae4692c2f50d1a2b73023d576d05806b978bd8d97509df76256fbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQ4OjM2OUMzQTo2MjU2Rjk6OEFCNjlCOjZBRkRDRTY0IiwidmlzaXRvcl9pZCI6IjU0NDc1NjE1Mzg3Nzg4MTIwMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f832bfb269ac9c01de65b92b1935d32f9141c600dd7327f585d84cfedab10259 |
| hovercard-subject-tag | issue:3512711505 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/31457/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f67c73d0b9971df0bf6a12df088c0e8e6c690d41160cfc7c65448922b0d6b798/angular/angular-cli/issues/31457 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f67c73d0b9971df0bf6a12df088c0e8e6c690d41160cfc7c65448922b0d6b798/angular/angular-cli/issues/31457 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? @angular/ssr Is this a regression? Yes Description Angular SSR seems not to accept matrix params in URLs. Reproduction: App with SSR; then add... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mumenthalers |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26886a40b582b821a7a76351e0a2f42b6d6160854b6e2520db24f31fd7be5da7 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 68ebaa631a1d248d69ebde4b9c5defd3a19aeb2f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width