mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bfa53cdd3f
Previously, the `DefaultUrlSerializer` would incorrectly parse URLs with a parenthesized outlet that did not have a name, such as `/(left)`. This would result in an `undefined` outlet name in the serialized URL. This commit fixes the issue by ensuring that parenthesized outlets without a name are treated as primary outlets. fixes #58516. Based on the description, either the URL was constructed manually or by custom serializer. PR Close #64507