)]}'
{
  "commit": "484d8fe9317e050384e64e68fd3557cd5e739943",
  "tree": "9858899aecc809b9c0d817683114c3d9603867fa",
  "parents": [
    "e42d0ca061e8ec337b7390c69b042400e12fc54e"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Thu Sep 28 14:27:42 2023 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Thu Sep 28 14:41:20 2023 +0100"
  },
  "message": "Fix update HEAD action detection from BearerAuthenticationFilter\n\nWhen the bearer authentication filter detects the incoming request\nURI used before the wrong regex and, instead of being associated\nwith the pull-replication API it got associated with the Gerrit\u0027s\nPUT /\u003cproject\u003e/HEAD invoked by the GUI.\n\nAlign the two expressions and make the bearer token consistent\nwith the normal pull-replication filter and REST-API detection.\n\nBug: Issue 302436272\nChange-Id: Ic63db73b29b11d2f66b41c936fc315525f11b664\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8147149bbf94e91f4b873321ef9a047f13f4a11c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/BearerAuthenticationFilter.java",
      "new_id": "e4919643fb29ad8bb37090f81a9dd29bbc01b83b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/BearerAuthenticationFilter.java"
    },
    {
      "type": "modify",
      "old_id": "824496ae849fc36598c849642175dae4b728b6ed",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/BearerAuthenticationFilterTest.java",
      "new_id": "9831d6c0acdaee47ff78aad0314faadbcc4620f7",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/BearerAuthenticationFilterTest.java"
    }
  ]
}
