Added = and % to HTTP_PATTERN (#1704)

This commit is contained in:
Jane Man 2020-02-18 17:42:25 -08:00 committed by GitHub
parent fa0901eca3
commit 876c852065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ parser.add_argument(
# http/https URLs
HTTP_PATTERN = re.compile(
'http[s]?://[a-zA-Z\-_?/*\.#\$][a-zA-Z0-9\-_?/*\.#\$]+')
'http[s]?://[a-zA-Z\-_?/*\.#\$][a-zA-Z0-9\-_?/*\.#%=\$]+')
# Patterns in this white list are considered valid.
WHITE_LIST = [