[Passwords] Support x-origin redirects in WellKnown Throttle
This change modifies the WellKnownChangePasswordNavigationThrottle to use the URL used in the beginning of the navigation for the fallback logic in case the server does not support .well-known/change-password URLs. So far it has been using `navigation_handle()->GetURL()`, which could change in the presence of server-side redirects and thus could point to a different origin, for which the fallback logic would be wrong. Fixed: 1130519 Change-Id: I8177f7a8f794de91d2cf81d92aab11179280f73c Bug: 1130519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421512Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#809306}
Showing
Please register or sign in to comment