mirror of
https://github.com/clearml/clearml
synced 2025-05-07 14:24:31 +00:00
Fix downloading artifacts from GCP when the download URI includes unsafe characters
This commit is contained in:
parent
a8746de9eb
commit
60c3a5ef98
File diff suppressed because it is too large
Load Diff
@ -44,7 +44,7 @@ def get_config_object_matcher(**patterns):
|
||||
|
||||
def quote_url(url):
|
||||
parsed = urlparse(url)
|
||||
if parsed.scheme not in ("http", "https"):
|
||||
if parsed.scheme not in ("http", "https", "gs"):
|
||||
return url
|
||||
parsed = parsed._replace(path=quote(parsed.path))
|
||||
return urlunparse(parsed)
|
||||
|
Loading…
Reference in New Issue
Block a user