)]}'
{
  "commit": "43bb3b702e5a85b1b2ba8b7ed3aa2ab0523a9c5e",
  "tree": "f5ec708724eaf2f351d576a09b6a11e08c38b45e",
  "parents": [
    "488e479f9778af8666a5d0b57067ae0aa07256dc"
  ],
  "author": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Tue Nov 21 10:58:55 2023 +0000"
  },
  "committer": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Tue Nov 21 15:19:47 2023 +0000"
  },
  "message": "Redirect to login on anonymous access to profile pages\n\nWhen an unauthorized session tries to access any of the profile pages,\nserver will return status code 500 and a generic \"Server Error\" page\nwill be rendered. Instead, user should be redirected to the login page.\n\nTo fix this we simply check if user is authorized in\n`VelocityViewServlet` and if not, redirect to the `auth.loginUrl`.\n\nBug: Issue 311627062\nChange-Id: I3264f50500733e277ef10ca1a2ff36287f89fc99\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b7dc08f16ba93a46eeed7f624258f7d0ed8dbaac",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java",
      "new_id": "5e4498f9331d3d947d89cea92e88c1a317497f9b",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java"
    }
  ]
}
