diff --git a/mitmproxy/builtins/dumper.py b/mitmproxy/builtins/dumper.py index bba17f381..04dfb42cb 100644 --- a/mitmproxy/builtins/dumper.py +++ b/mitmproxy/builtins/dumper.py @@ -130,6 +130,8 @@ class Dumper: url = flow.request.pretty_url else: url = flow.request.url + if len(url) > 200: + url = url[:199] + "…" url = click.style(strutils.escape_control_characters(url), bold=True) http_version = ""