fix
This commit is contained in:
@ -536,6 +536,8 @@ class StringUtils:
|
||||
"""
|
||||
从地址中获取域名和端口号
|
||||
"""
|
||||
if not address:
|
||||
return None, None
|
||||
if not address.startswith("http"):
|
||||
address = "http://" + address
|
||||
parts = address.split(":")
|
||||
|
Reference in New Issue
Block a user