aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/builtins/dumper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/builtins/dumper.py b/mitmproxy/builtins/dumper.py
index bba17f38..04dfb42c 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 = ""