You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 576df28
Browse filesBrowse the repository at this point in the historyBrowse files
fix(router): fall back when serializing protocol-relative URLs
Avoid throwing when DefaultUrlSerializer encounters a UrlTree that would serialize to a protocol-relative URL. Warn in development mode and serialize the tree with a root-relative path instead while preserving query parameters and fragments.
Additionally, account for WHATWG URL normalization (e.g. dot segments and backslashes collapsing into protocol-relative paths such as `/.//` or `/..//`).
Fixes#69700Fixes#71076
Co-authored-by: Andrew Scott <atscott01@gmail.com>
(cherry picked from commit a1bffc2)
0 commit comments