| commit | 8be2d7050481284d11fcf8f8e133bd2ad7ea6b05 | [log] [tgz] |
|---|---|---|
| author | mlcui <mlcui@google.com> | Thu Aug 08 03:19:43 2024 |
| committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 08 22:12:51 2024 |
| tree | b59d0fd66ec3f807ca7e4ffb41301cd6564d935a | |
| parent | 87c0544560518d47f1a782942c8dd97f0a17ef6c [diff] |
gerrit: fix auth cookies which include subdomains The recommended way of getting .gitcookies now is to go to https://googlesource.com/new-password, which sets a subdomain cookie with domain `.googlesource.com`. Fix gitcookie parsing to accommodate for this. BUG=b:358251450 TEST=npm run unit-test-parallel Change-Id: I6a6a2100f373255ba4261733c53f355059c78527 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/ide/+/5772491 Reviewed-by: Grace Cham <hscham@chromium.org> Tested-by: Michael Cui <mlcui@google.com> Commit-Queue: Michael Cui <mlcui@google.com> (cherry picked from commit 13602f2ea355ea9f017701c41354266a77d78b88) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/ide/+/5772495 Auto-Submit: Grace Cham <hscham@chromium.org> Reviewed-by: Keigo Oka <oka@chromium.org> Commit-Queue: Keigo Oka <oka@chromium.org> Tested-by: Grace Cham <hscham@chromium.org>