[pacman-dev] [PATCH 1/2] only use effective url for urls containing .db or .pkg
Morgan Adamiec
morganamilo at archlinux.org
Thu Jun 17 01:25:08 UTC 2021
On 16/06/2021 20:39, Eli Schwartz wrote:
> For a .db we explicitly need it to be the last component, so we might as
> well check that .db isn't a redirect to .db.tar.gz, which per IRC
> discussion lazka's server appears to do.
No that case is fine. This patch is for when the redirect is unrelated
to the filename. So like:
/foo.db -> /34783248324
/34783248324.sig would then fail.
But in the case of /foo.db -> /foo.db.tar.gz
/foo.db.tar.gz.sig is still valid and succeeds.
More information about the pacman-dev
mailing list