Add ssh to filter of valid urls (#29749)

This commit is contained in:
John W. Parent
2022-03-28 17:13:55 -04:00
committed by GitHub
parent 5424e4bdc1
commit 1c2fff2cb7

View File

@@ -343,7 +343,7 @@ def parse_git_url(url):
def require_url_format(url):
ut = re.search(r'^(file://|http://|https://|ftp://|s3://|gs://|/)', url)
ut = re.search(r'^(file://|http://|https://|ftp://|s3://|gs://|ssh://|/)', url)
assert ut is not None