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