Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-07-13 09:35:05 -0700
committerAllan McRae <allan@archlinux.org>2020-07-14 23:39:37 +1000
commita8bdc2e10ad6c942f3f1dbbbb77c126578a41bd3 (patch)
tree2a4b6f1ee4242f3e78d72d5c7457ed03f38e0965 /lib/libalpm/package.c
parentb01bcc7d3d680856bd60c4ae03e4ba3f6d889cb2 (diff)
Build signature remote name based on the main payload name
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@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions