{"push_id":672990475,"size":1,"distinct_size":1,"ref":"refs/heads/improve-redirections","head":"7ccb7c55ae28309d8fb4780105d42ba88f1555c1","before":"32b9b3c98f95c523bbb5acf68dd84d92d686114c","commits":[{"sha":"7ccb7c55ae28309d8fb4780105d42ba88f1555c1","author":{"email":"d7748b1e6f41fd74500c5ccae0980eab88c2ef61@gmail.com","name":"Julius Volz"},"message":"Improve web redirection and 404 behavior.\n\nPreviously we redirected any non-existent path to the root (or path\nprefix).\n\nThe new behavior:\n\nEmpty path prefix:\n- \"\" -> \"/\"\n- \"/biz\" -> 404\n\nPath prefix \"/foo/bar\":\n- \"\" -> \"/foo/bar/\"\n- \"/\" -> \"/foo/bar/\"\n- \"/foo/bar\" -> \"/foo/bar/\"\n- \"/biz\" -> /foo/bar/biz/\"\n  (anything not starting with the path prefix gets the prefix prepended)\n- \"/foo/bar/biz/\" -> 404\n\nThis fixes https://github.com/prometheus/alertmanager/issues/66","distinct":true,"url":"https://api.github.com/repos/prometheus/alertmanager/commits/7ccb7c55ae28309d8fb4780105d42ba88f1555c1"}]}