mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
Fix host extraction
This commit is contained in:
parent
e8fc4af4c6
commit
0ca1916f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class Rerouter:
|
|||
|
||||
m = parse_host_header.match(self.host_header)
|
||||
if m:
|
||||
host_header = m.group("host").strip("[]")
|
||||
self.host_header = m.group("host").strip("[]")
|
||||
if m.group("port"):
|
||||
port = int(m.group("port"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue