)]}'
{
  "commit": "8658c5b8a11c2155e66e1bd1c322099f672f7c15",
  "tree": "b1525497b9412fdf11863200d980cf55fe841bf0",
  "parents": [
    "3ef0dfa145513c98b331f75730c3f16e4713cda4"
  ],
  "author": {
    "name": "Sergey Kandaurov",
    "email": "pluknet@nginx.com",
    "time": "Thu Aug 29 22:35:26 2013 +0400"
  },
  "committer": {
    "name": "Sergey Kandaurov",
    "email": "pluknet@nginx.com",
    "time": "Thu Aug 29 22:35:26 2013 +0400"
  },
  "message": "Referer: fixed server_name regex matching.\n\nThe server_name regexes are normally compiled for case-sensitive matching.\nThis violates case-insensitive obligations in the referer module.  To fix\nthis, the host string is converted to lower case before matching.\n\nPreviously server_name regex was executed against the whole referer string\nafter dropping the scheme part.  This could led to an improper matching, e.g.:\n\n    server_name ~^localhost$;\n    valid_referers server_names;\n\n    Referer: http://localhost/index.html\n\nIt was changed to look only at the hostname part.\n\nThe server_name regexes are separated into another array to not clash with\nregular regexes.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "054f3afd3f33e4d22f6ff59fb37415aecb0b71d5",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_referer_module.c",
      "new_id": "f3cebb72bb601738c8eb80fc8e3a13475f71f0b2",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_referer_module.c"
    }
  ]
}
