diff options
author | 2009-08-26 11:54:31 +0000 | |
---|---|---|
committer | 2009-08-26 11:54:31 +0000 | |
commit | 647deafc3497bc0ea28c67a101a0c221355a51fb (patch) | |
tree | 5d224f9bef5b0a48b81d326f157e532b9528063b /sys/dev/microcode | |
parent | sync (diff) | |
download | wireguard-openbsd-647deafc3497bc0ea28c67a101a0c221355a51fb.tar.xz wireguard-openbsd-647deafc3497bc0ea28c67a101a0c221355a51fb.zip |
In "auto-fetch" mode without -o, the filename to save under is derived
from the URL. In cases where the URL supplied on the command-line returned
an HTTP redirection, ftp(1) was changing the filename to one derived from
the redirected URL. Change this to always use a name derived from the
command-line URL.
Avoids unexpected behaviour with URI-encoded redirection URLs as seen
by matecocido on misc@, and avoids surprises when the redirection is
to an unexpected filename. No change when -o is used.
ok martynas@ deraadt@ "I totally approve" halex@
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions