diff options
| author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:49:46 +0000 |
|---|---|---|
| committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:49:46 +0000 |
| commit | 5fef74e277a1a8631418cc86635c091fcc79d099 (patch) | |
| tree | 1f91b768812d879efc689dc94c0aa53e7c1ba2fa /www/webcopy/files/patch-webcopy.src_5 | |
| parent | - Add LICENSE (diff) | |
Rename www/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'www/webcopy/files/patch-webcopy.src_5')
| -rw-r--r-- | www/webcopy/files/patch-webcopy.src_5 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/webcopy/files/patch-webcopy.src_5 b/www/webcopy/files/patch-webcopy.src_5 new file mode 100644 index 000000000000..008c84356d2a --- /dev/null +++ b/www/webcopy/files/patch-webcopy.src_5 @@ -0,0 +1,20 @@ +--- webcopy.src.orig Sun May 21 20:24:21 2000 ++++ webcopy.src Sun May 21 20:25:51 2000 +@@ -481,7 +481,7 @@ + $_=select(S); $|=1; select($_); + if ($verbose>3) { + print(($post?"POST":"GET") . " $proxy$url HTTP/1.0${rn}" . +- "User-Agent: $agent${rn}Accept: */*${rn}$update"); ++ "User-Agent: $agent${rn}Accept: */*${rn}Host: ${host}${rn}$update"); + print "Authorization: $userpass${rn}" if $userpass; + if ($post) { + print "Content-Length: " . length($post_data) . +@@ -492,7 +492,7 @@ + } + } + print S ($post?"POST":"GET") . " $proxy$url HTTP/1.0${rn}" . +- "User-Agent: $agent${rn}Accept: */*${rn}$update"; ++ "User-Agent: $agent${rn}Accept: */*${rn}Host: ${host}${rn}$update"; + print S "Authorization: $userpass${rn}" if $userpass; + if ($post) { + print S "Content-Length: " . length($post_data) . |
