)]}'
{
  "commit": "0757b4eacee46aad9fd6cfbe2ec359fbd92cd316",
  "tree": "d22387d7e4a61e40ac5eb70b5173df8b10d5a96c",
  "parents": [
    "06ce2e1b0a3d69017cda90da23ff733bcc8de783"
  ],
  "author": {
    "name": "Dmitri Shuralyov",
    "email": "dmitshur@golang.org",
    "time": "Fri Aug 17 19:58:32 2018 -0400"
  },
  "committer": {
    "name": "Dmitri Shuralyov",
    "email": "dmitshur@golang.org",
    "time": "Sat Aug 18 01:29:44 2018 +0000"
  },
  "message": "playground: serve 404 for non-existent pages\n\nThe server.handleEdit handler is being registered to handle the \"/\"\npattern. Its code checks if the request URL path has a \"/p/\" prefix,\nand otherwise assumes it\u0027s the index page. There\u0027s no check if it\u0027s\nsome other unsupported URL. As a result, any URL that isn\u0027t handled\nelsewhere serves the index page. For example:\n\n\thttps://play.golang.org/foobarbaz\n\nThis change fixes that so non-existent pages return a 404 Not Found\nerror instead.\n\nAlso use context.Background() instead of a nil context in a test,\nper the context package instructions.\n\nChange-Id: I4c43492397a6f71bffc1e6a657ff2a523a245f94\nReviewed-on: https://go-review.googlesource.com/129795\nReviewed-by: Brad Fitzpatrick \u003cbradfitz@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b69c1c0f40c74022d9006eae2a76f8471ac9a8cb",
      "old_mode": 33188,
      "old_path": "edit.go",
      "new_id": "81923e4af2274d0026b94337e9fd6f0fd9c00e27",
      "new_mode": 33188,
      "new_path": "edit.go"
    },
    {
      "type": "modify",
      "old_id": "0c1740758f48136f5bec0315213898d8120db71c",
      "old_mode": 33188,
      "old_path": "server_test.go",
      "new_id": "8621742446b92234288d06b4127d9f0fcc27713c",
      "new_mode": 33188,
      "new_path": "server_test.go"
    }
  ]
}
