Allow file URLs
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
from spack.util.compression import allowed_archive
|
||||
|
||||
ALLOWED_SCHEMES = ["http", "https", "ftp"]
|
||||
ALLOWED_SCHEMES = ["http", "https", "ftp", "file"]
|
||||
|
||||
def url(url_string):
|
||||
url = urlparse(url_string)
|
||||
|
Reference in New Issue
Block a user