Update serverplayback.py

This commit is contained in:
Maximilian Hils 2019-07-17 22:46:39 +02:00 committed by GitHub
parent 141ade5ae1
commit 3eebfed79f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,10 +128,7 @@ class ServerPlayback:
key.append(str(r.raw_content))
if not ctx.options.server_replay_ignore_host:
if ctx.options.mode == "transparent":
key.append(r.host_header)
else:
key.append(r.host)
key.append(r.pretty_host)
filtered = []
ignore_params = ctx.options.server_replay_ignore_params or []