ci(snapshot_id): Fix URL escaping (#138)

This commit is contained in:
Alejandro Ruiz
2022-11-03 17:26:09 +01:00
committed by GitHub
parent da01be1c7d
commit 064761b6d4
+1
View File
@@ -24,6 +24,7 @@ get_latest_debian_snapshot_id() {
local -r snapshot_list_tmp_file="${snapshot_tmp_dir}/month-snapshots.html"
! month_query=$(get_latest_month_query) && return 1
month_query=${month_query/&month=/&month=}
curl -sSfL "https://snapshot.debian.org/archive/debian/$month_query" > "$snapshot_list_tmp_file"