FS#50616 - external downloader fails on urls without a file name

Attached to Project: Pacman
Opened by Andrew Gregory (andrewgregory) - Wednesday, 31 August 2016, 14:46 GMT
Task Type Bug Report
Category Backend/Core
Status Unconfirmed
Assigned To Andrew Gregory (andrewgregory)
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:

URLs ending with '/' are treated as having an empty file name. They are downloaded to "/var/cache/pacman/pkg/.part", but then cause an error when pacman attempts to rename them to "/var/cache/pacman/pkg/".

Steps to Reproduce:

XferCommand = /usr/bin/curl -C - -f %u > %o

pacman -U https://www.archlinux.org/packages/core/x86_64/pacman/download/
This task depends upon

Loading...