1
0

sanitize server at the interface level (follow up to issue #1330)

This commit is contained in:
ThomasV
2015-07-01 09:09:00 +02:00
parent 0ac3aebb88
commit 604d5d432c
2 changed files with 2 additions and 2 deletions

View File

@@ -72,6 +72,7 @@ class TcpInterface(threading.Thread):
# parse server
self.server = server
self.host, self.port, self.protocol = self.server.split(':')
self.host = str(self.host)
self.port = int(self.port)
self.use_ssl = (self.protocol == 's')