Skip to content

fix(platform-server): normalize path parsing in ServerPlatformLocation#68930

Open
alan-agius4 wants to merge 1 commit into
angular:20.3.xfrom
alan-agius4:backport-68928-20.3.x
Open

fix(platform-server): normalize path parsing in ServerPlatformLocation#68930
alan-agius4 wants to merge 1 commit into
angular:20.3.xfrom
alan-agius4:backport-68928-20.3.x

Conversation

@alan-agius4
Copy link
Copy Markdown
Contributor

Normalizes request path parsing in ServerPlatformLocation by collapsing multiple consecutive leading slashes and backslashes (e.g. // or /) down to a single forward slash. This ensures consistent resolution of relative path segments and prevents unexpected absolute path overrides during URL parsing.

Normalizes request path parsing in ServerPlatformLocation by collapsing multiple consecutive leading slashes and backslashes (e.g. // or /\) down to a single forward slash. This ensures consistent resolution of relative path segments and prevents unexpected absolute path overrides during URL parsing.
@alan-agius4 alan-agius4 requested a review from AndrewKushnir May 26, 2026 09:58
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: lts This PR is targeting a version currently in long-term support labels May 26, 2026
@angular-robot angular-robot Bot added the area: server Issues related to server-side rendering label May 26, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: server Issues related to server-side rendering target: lts This PR is targeting a version currently in long-term support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant