PW change success detection for Ping
Ping does not have a particular success URL - it just redirects back to the "returnurl" on success. We can detect this if we listen for a POSTed request to the password change URL, and then for a response that redirects us to the returnurl, and not back to the password change URL again. This involves listening for redirects, not just URLs - since visiting the returnurl normally would not mean success. I have modified all such success detection attempts to listen for redirects - even when we have a success URL to listen for eg "?status=0" - it is a bit more certain to listen for a redirect *from* the password change URL *to* the success URL, instead of just listening for a visit to the success URL by itself. Bug: 930109 Change-Id: Idfd081a603ca402367de774f6253e4af9b84bbdf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1878489Reviewed-by:Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: A Olsen <olsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#711235}
Showing
Please register or sign in to comment