-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(router): ensure URL is updated after second redirect with UrlUpda… #27523
Conversation
…teStrategy="eager" Navigating to a route such as `/users`, you may get redirected to `/login`. Previously, if you go then route to `/users` again the URL will end up showing `/users` after the second redirect. This only happened in `UrlUpdateStrategy="eager"`. This is now fixed so after the second redirect, the URL shows the correct page. Fixes angular#27116
You can preview 75b684d at https://pr27523-75b684d.ngbuilds.io/. |
75b684d
to
78c9072
Compare
You can preview 78c9072 at https://pr27523-78c9072.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed in person. LGTM!
Did not merge into patch. Need a separate PR |
This PR needs to be fixed up as it breaks G3. |
Presubmit after fix to |
… UrlUpdateStrategy="eager" (angular#27523)
… UrlUpdateStrategy="eager" (#27523)
…ect with UrlUpdateStrategy="eager" (angular#27523)" This reverts commit eea2b0f.
…teStrategy="eager" (angular#27523) Navigating to a route such as `/users`, you may get redirected to `/login`. Previously, if you go then route to `/users` again the URL will end up showing `/users` after the second redirect. This only happened in `UrlUpdateStrategy="eager"`. This is now fixed so after the second redirect, the URL shows the correct page. Fixes angular#27116 PR Close angular#27523
… UrlUpdateStrategy="eager" (angular#27523)" This reverts commit ad26cd6.
…teStrategy="eager" (angular#27523) Navigating to a route such as `/users`, you may get redirected to `/login`. Previously, if you go then route to `/users` again the URL will end up showing `/users` after the second redirect. This only happened in `UrlUpdateStrategy="eager"`. This is now fixed so after the second redirect, the URL shows the correct page. Fixes angular#27116 PR Close angular#27523
… UrlUpdateStrategy="eager" (angular#27523)
…ect with UrlUpdateStrategy="eager" (angular#27523)" (angular#28300) This reverts commit eea2b0f. PR Close angular#28300
…ect with UrlUpdateStrategy="eager" (angular#27523)" (angular#28300) This reverts commit eea2b0f. PR Close angular#28300
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…teStrategy="eager"
Navigating to a route such as
/users
, you may get redirected to/login
. Previously, if you go then route to/users
again the URL will end up showing/users
after the second redirect. This only happened inUrlUpdateStrategy="eager"
. This is now fixed so after the second redirect, the URL shows the correct page.Fixes #27116