fix for validation regex of proxy data

This commit is contained in:
Joachim Lusiardi 2020-05-30 18:45:41 +02:00
parent b5faa4c09e
commit af148d4fd2
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def check_proxy_data_format(var_content):
:param var_content: content of the proxy data variable
:return: True if the content is of valid format, False otherwise
"""
return re.match(r"^(\w+:[^:,]+,)+\w+:[^:,]+$", var_content) is not None
return re.match(r"^(\w+:[^:,]+,)*\w+:[^:,]+$", var_content) is not None
def extract_ip(inspect_data):