Prove curl redirect protocol policy before updating a transfer job
A download job can begin at an HTTPS URL and still be redirected somewhere its owner did not intend. The URL in the script tells only part of the story when curl --location follows a server response. The redirect target is another input, and it deserves an explicit protocol policy.
That review is worth doing before updating a transfer dependency. curl 8.22.0 was released on September 2, 2026, and a version update is a useful time to turn an assumed redirect policy into a tested one. The control is --proto-redir: it limits the schemes curl will accept after a redirect. For a job that is meant to retrieve web content, an explicit HTTP-and-HTTPS policy prevents curl from following an FTP or FTPS redirect just because those schemes are in curl’s default redirect allowlist.