Fix update HEAD action detection from BearerAuthenticationFilter

When the bearer authentication filter detects the incoming request
URI used before the wrong regex and, instead of being associated
with the pull-replication API it got associated with the Gerrit's
PUT /<project>/HEAD invoked by the GUI.

Align the two expressions and make the bearer token consistent
with the normal pull-replication filter and REST-API detection.

Bug: Issue 302436272
Change-Id: Ic63db73b29b11d2f66b41c936fc315525f11b664
2 files changed
tree: 9858899aecc809b9c0d817683114c3d9603867fa
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. Jenkinsfile
  6. LICENSE