Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

This commit introduces a change to strip matrix parameters from the URL before route matching in Angular SSR. Previously, URLs containing matrix parameters would fail to match their corresponding routes.

A new stripMatrixParams utility function has been added to remove these parameters, ensuring that route matching is not affected by their presence.

Closes #31457

This commit introduces a change to strip matrix parameters from the URL before route matching in Angular SSR. Previously, URLs containing matrix parameters would fail to match their corresponding routes.

A new `stripMatrixParams` utility function has been added to remove these parameters, ensuring that route matching is not affected by their presence.

Closes angular#31457
@alan-agius4 alan-agius4 requested a review from atscott October 15, 2025 08:43
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Oct 15, 2025
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 16, 2025
@alan-agius4 alan-agius4 merged commit 85c18b4 into angular:main Oct 16, 2025
35 checks passed
@alan-agius4 alan-agius4 deleted the matrix-url branch October 16, 2025 13:21
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/ssr target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular SSR Setup denies accepting matrix params

2 participants