[pacman-dev] [PATCH] Build signature remote name based on the main payload name
Allan McRae
allan at archlinux.org
Tue Jul 14 13:40:16 UTC 2020
On 14/7/20 2:35 am, Anatol Pomozov wrote:
> The main payload final name might be affected by url redirects or
> Content-Disposition HTTP header value.
>
> We want to make sure that accompanion *.sig filename always matches the
> package filename. So ignore finalname/Content-Disposition for the *.sig file.
>
> It also helps to fix a corner case when the download URL does not contain
> a filename and server provides Content-Disposition for the main payload
> but not for the signature payload.
>
> Signed-off-by: Anatol Pomozov <anatol.pomozov at gmail.com>
> ---
Looks good. Thanks.
A
More information about the pacman-dev
mailing list