)]}'
{"swift/proxy/server.py":[{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"da165e53e19d8a6f150656e9cca147af863b07bd","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                p \u003d req.path_info"},{"line_number":292,"context_line":"                if isinstance(p, unicode):"},{"line_number":293,"context_line":"                    p \u003d p.encode(\u0027utf-8\u0027)"},{"line_number":294,"context_line":"                if controller in (AccountController, ContainerController):"},{"line_number":295,"context_line":"                    for key in req.headers:"},{"line_number":296,"context_line":"                        value \u003d req.headers[key]"},{"line_number":297,"context_line":"                        if value and not check_utf8(value):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2FyNY%3D","line":294,"updated":"2013-12-31 17:41:22.000000000","message":"Instead of this, why not put the UTF-8 checks in the controllers themselves?","commit_id":"19e76eb56d5334ac73bb0fe63a46a611a85e1826"},{"author":{"_account_id":8955,"name":"Tianshi Li","email":"lts9165@gmail.com","username":"tsli"},"change_message_id":"d7e3246ac632154d45c6309d152fcc0017bb1edf","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                p \u003d req.path_info"},{"line_number":292,"context_line":"                if isinstance(p, unicode):"},{"line_number":293,"context_line":"                    p \u003d p.encode(\u0027utf-8\u0027)"},{"line_number":294,"context_line":"                if controller in (AccountController, ContainerController):"},{"line_number":295,"context_line":"                    for key in req.headers:"},{"line_number":296,"context_line":"                        value \u003d req.headers[key]"},{"line_number":297,"context_line":"                        if value and not check_utf8(value):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2FxDs%3D","line":294,"in_reply_to":"AAAAT3%2F%2FyNY%3D","updated":"2014-01-02 02:16:14.000000000","message":"I noticed that check_metadata will be involved in ever controller, so I put the utf-8 checks in that method to avoid over check. Would it be all right?","commit_id":"19e76eb56d5334ac73bb0fe63a46a611a85e1826"}]}
