)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"4296c33fe3a20b68ed8e6cc5cf67236a04469dc1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"10152280_0718af5c","updated":"2026-11-25 17:46:43.000000000","message":"Rest of the things looks good to me, couple of important findings noted inline.","commit_id":"25c9d98b76076103836f6f54b262956816ca32ad"}],"glanceclient/common/http.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"4296c33fe3a20b68ed8e6cc5cf67236a04469dc1","unresolved":true,"context_lines":[{"line_number":297,"context_line":"                       {\u0027url\u0027: conn_url, \u0027e\u0027: e})"},{"line_number":298,"context_line":"            raise exc.CommunicationError(message\u003dmessage)"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"        # log request-id for each api call"},{"line_number":301,"context_line":"        request_id \u003d resp.headers.get(\u0027x-openstack-request-id\u0027)"},{"line_number":302,"context_line":"        if request_id:"},{"line_number":303,"context_line":"            LOG.debug(\u0027%(method)s call to image for \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"27105478_e9cbb62a","line":300,"range":{"start_line":300,"start_character":8,"end_line":300,"end_character":42},"updated":"2026-11-25 17:46:43.000000000","message":"log\u003dFalse stops the curl and response logs, but this debug line still prints the full request URL. Since the whole point of log\u003dFalse is to keep the request out of the logs, this line should also be guarded by if log: or should not include the URL. A good test would set x-openstack-request-id and then verify the URL does not appear in the log output.","commit_id":"25c9d98b76076103836f6f54b262956816ca32ad"},{"author":{"_account_id":36805,"name":"Mateusz Klejn","display_name":"Mateusz Klejn","email":"mateusz.klejn@ovhcloud.com","username":"mateusz.klejn","status":"Employee @ OVH"},"change_message_id":"e7121e4b9180209c198b6c6b34ed05358a9d559e","unresolved":false,"context_lines":[{"line_number":297,"context_line":"                       {\u0027url\u0027: conn_url, \u0027e\u0027: e})"},{"line_number":298,"context_line":"            raise exc.CommunicationError(message\u003dmessage)"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"        # log request-id for each api call"},{"line_number":301,"context_line":"        request_id \u003d resp.headers.get(\u0027x-openstack-request-id\u0027)"},{"line_number":302,"context_line":"        if request_id:"},{"line_number":303,"context_line":"            LOG.debug(\u0027%(method)s call to image for \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ac1b0d0_94bcec01","line":300,"range":{"start_line":300,"start_character":8,"end_line":300,"end_character":42},"in_reply_to":"27105478_e9cbb62a","updated":"2026-11-26 16:19:50.000000000","message":"Done","commit_id":"25c9d98b76076103836f6f54b262956816ca32ad"}],"glanceclient/v2/images.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"4296c33fe3a20b68ed8e6cc5cf67236a04469dc1","unresolved":true,"context_lines":[{"line_number":371,"context_line":"        :returns: A dict with ``image_id``, ``store_id``, ``temp_url`` and"},{"line_number":372,"context_line":"                  ``expires_at`` (an ISO 8601 UTC timestamp)."},{"line_number":373,"context_line":"        \"\"\""},{"line_number":374,"context_line":"        url \u003d (\u0027/v2/stores/%(store)s/%(image)s/tempurl\u0027 % {"},{"line_number":375,"context_line":"            \u0027store\u0027: urllib.parse.quote(store_id, safe\u003d\u0027\u0027),"},{"line_number":376,"context_line":"            \u0027image\u0027: urllib.parse.quote(image_id, safe\u003d\u0027\u0027)})"},{"line_number":377,"context_line":"        resp, body \u003d self.http_client.get(url, log\u003dFalse)"},{"line_number":378,"context_line":"        return body, resp"},{"line_number":379,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"8ac6393d_5e0fc85b","line":376,"range":{"start_line":374,"start_character":0,"end_line":376,"end_character":60},"updated":"2026-11-25 17:46:43.000000000","message":"urllib.parse.quote() only accepts strings, so if someone passes a UUID or another object with a string representation, the call will raise TypeError. The fix is to wrap both IDs with str() before quoting, like urllib.parse.quote(str(store_id), safe\u003d\u0027\u0027). The same should be done for image_id, and a test should pass a UUID to make sure it works.","commit_id":"25c9d98b76076103836f6f54b262956816ca32ad"},{"author":{"_account_id":36805,"name":"Mateusz Klejn","display_name":"Mateusz Klejn","email":"mateusz.klejn@ovhcloud.com","username":"mateusz.klejn","status":"Employee @ OVH"},"change_message_id":"e7121e4b9180209c198b6c6b34ed05358a9d559e","unresolved":false,"context_lines":[{"line_number":371,"context_line":"        :returns: A dict with ``image_id``, ``store_id``, ``temp_url`` and"},{"line_number":372,"context_line":"                  ``expires_at`` (an ISO 8601 UTC timestamp)."},{"line_number":373,"context_line":"        \"\"\""},{"line_number":374,"context_line":"        url \u003d (\u0027/v2/stores/%(store)s/%(image)s/tempurl\u0027 % {"},{"line_number":375,"context_line":"            \u0027store\u0027: urllib.parse.quote(store_id, safe\u003d\u0027\u0027),"},{"line_number":376,"context_line":"            \u0027image\u0027: urllib.parse.quote(image_id, safe\u003d\u0027\u0027)})"},{"line_number":377,"context_line":"        resp, body \u003d self.http_client.get(url, log\u003dFalse)"},{"line_number":378,"context_line":"        return body, resp"},{"line_number":379,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"a82540ca_4460e0d1","line":376,"range":{"start_line":374,"start_character":0,"end_line":376,"end_character":60},"in_reply_to":"8ac6393d_5e0fc85b","updated":"2026-11-26 16:19:50.000000000","message":"Done","commit_id":"25c9d98b76076103836f6f54b262956816ca32ad"}]}
