dumper: limit url length

This commit is contained in:
Maximilian Hils 2016-10-17 03:17:49 -07:00 committed by Thomas Kriechbaumer
parent beed406058
commit c6d485bc77

View File

@ -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 = ""