Skip to content
Snippets Groups Projects
Unverified Commit 9ab93992 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-autoupdater: mirror URLs must start with http://

The older busybox-based wget erroneously accepted URLs without protocol.
Add validator to avoid building firmwares with broken autoupdates.
parent 5de9f046
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@ local function check_branch(k, _)
local prefix = string.format('autoupdater.branches[%q].', k)
need_string(prefix .. 'name')
need_string_array(prefix .. 'mirrors')
need_string_array_match(prefix .. 'mirrors', '^http://')
need_number(prefix .. 'good_signatures')
need_string_array_match(prefix .. 'pubkeys', '^%x+$')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment