Fix request_host parsing in ClientConnection class
This commit is contained in:
parent
076b8faadd
commit
9695fd56bf
|
@ -133,6 +133,8 @@ class ClientConnection:
|
||||||
request_port = int(request_host.split(':')[1])
|
request_port = int(request_host.split(':')[1])
|
||||||
request_host = request_host.split(':')[0]
|
request_host = request_host.split(':')[0]
|
||||||
|
|
||||||
|
request_host = request_host.split('/')[0]
|
||||||
|
|
||||||
return request_host, request_port
|
return request_host, request_port
|
||||||
|
|
||||||
def handle_connection(self):
|
def handle_connection(self):
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2e479e52459118b165f024bdb5ddd163c4602bea610f4bafc3924b1e0cb3248d
|
ed8ea6ed6a93c962faadf85ecb04778bc34bc29684a5fc8172218d5d32a6e5ed
|
Loading…
Reference in New Issue