mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 17:32:27 +08:00
Fix #2071, remove client_connect.mitmcert when dumping flow into json.
This commit is contained in:
@@ -85,6 +85,7 @@ def flow_to_json(flow: mitmproxy.flow.Flow) -> dict:
|
||||
"is_replay": flow.response.is_replay,
|
||||
}
|
||||
f.get("server_conn", {}).pop("cert", None)
|
||||
f.get("client_conn", {}).pop("mitmcert", None)
|
||||
|
||||
return f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user