3 May
2021
3 May
'21
12:24 a.m.
On 05/02/21 at 09:55pm, Guillaume Benoit wrote: ...
Yes, with pacman 5, fetching a URL with XferCommand doesn't work.With pacman 6, it doesn't work with the current code but it works with this patch,except for the special URLs given by Andrew Gregory.I can try to provide a different patch that pass the full payload to the front-endbut it can't help making pacman 6 correctly fetching a URL with XferCommand when thefilename can be guessed from the URL.
To be clear, when I said this patch is broken, I meant it actively breaks downloads that work now. This code runs regardless of which downloader is used and the internal downloader handles those urls just fine.