)]}'
{"senlin/api/middleware/version_negotiation.py":[{"author":{"_account_id":22623,"name":"Erik Olof Gunnar Andersson","email":"eandersson@blizzard.com","username":"eoandersson"},"change_message_id":"ffb2115468c6ce36198f44dfeaa5e4f4f4f988a3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                  {\u0027m\u0027: req.method, \u0027p\u0027: req.path, \u0027a\u0027: req.accept})"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        # If the request is for /versions, just return the versions container"},{"line_number":53,"context_line":"        if req.path_info_peek() in (\"versions\", \"\", None):"},{"line_number":54,"context_line":"            return self.versions_app"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        accept \u003d str(req.accept)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3fa7e38b_d2e8f1e2","line":53,"updated":"2019-10-14 18:47:02.000000000","message":"When querying /cluster (as opposed to /cluster/) this would be None, and not just an empty string.","commit_id":"899384fd417c2025c893573fe0d6a829acbddbf2"}],"senlin/api/middleware/webhook.py":[{"author":{"_account_id":22623,"name":"Erik Olof Gunnar Andersson","email":"eandersson@blizzard.com","username":"eoandersson"},"change_message_id":"ffb2115468c6ce36198f44dfeaa5e4f4f4f988a3","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        parts \u003d urlparse.urlparse(url)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        path \u003d parts.path"},{"line_number":78,"context_line":"        if script_name in path:"},{"line_number":79,"context_line":"            path \u003d parts.path.replace(script_name, \u0027\u0027)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        p \u003d path.split(\u0027/\u0027)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3fa7e38b_f2e3ad03","line":78,"updated":"2019-10-14 18:47:02.000000000","message":"If the uri starts with /cluster, the old code would add that to the path and you would end up with something like this.\n\u003e [\u0027\u0027, \u0027cluster\u0027, \u0027v1\u0027, \u0027webhooks\u0027, \u0027webhook-id\u0027, \u0027trigger\u0027]","commit_id":"899384fd417c2025c893573fe0d6a829acbddbf2"}]}
