xbps
xbps copied to clipboard
xbps-fetch invalid url scheme
Hi i try do build pgpool-II for void-package, but i have this issue on fetch soruce
xbps-fetch -v 'https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-4.3.1.tar.gz'
looking up www.pgpool.net
connecting to www.pgpool.net:443
connecting to 108.138.199.43
SSL options: 82004854
Peer verification enabled
Using CA cert path: /etc/ssl/certs
Verify hostname
TLSv1.3 connection established using TLS_AES_128_GCM_SHA256
Certificate subject: /CN=*.pgpool.net
Certificate issuer: /C=US/O=Amazon/OU=Server CA 1B/CN=Amazon
requesting https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-4.3.1.tar.gz
302 redirect to images/pgpool-II-4.3.1.tar.gz
https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-4.3.1.tar.gz: Invalid URL scheme
As of RFC 7231 relative Location headers are permitted, but no version of libfetch supports that afaics.
I guess you can follow the redirect yourself as a hotfix.
i apply you hotfix