mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
make url fetcher less restrictive on file-endings
This commit is contained in:
parent
5cabb7d273
commit
82195d82d6
1 changed files with 0 additions and 2 deletions
|
@ -18,8 +18,6 @@ module Fetchers
|
|||
return nil if uri.nil? or uri.scheme.nil?
|
||||
return nil unless %{ http https }.include? uri.scheme
|
||||
target = transform(target)
|
||||
# TODO: for now, this can be much less strict now vv
|
||||
return nil unless target.end_with?('tar.gz', 'zip')
|
||||
# fetch this url and hand it off
|
||||
res = new(target, opts)
|
||||
resolve_next(res.archive.path, res)
|
||||
|
|
Loading…
Reference in a new issue