mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
dumper: limit url length
This commit is contained in:
parent
beed406058
commit
c6d485bc77
1 changed files with 2 additions and 0 deletions
|
|
@ -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 = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue