fix: only allow downloading from HTTP(s) protocols (#151)

This commit is contained in:
amy 2025-01-24 13:39:49 -03:00 committed by GitHub
parent e52f8d8de8
commit 8ddcbcd79f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -2,6 +2,7 @@
_download_type_zip() {
read_args url skip_404 extract
require_args extract
zip_path="$(mktemp --suffix=.zip)"