Your message dated Mon, 5 Feb 2018 14:39:34 +0000
with message-id <f41ffea2-643c-cd6c-3061-beed51871...@debian.org>
and subject line Re: Bug#744725: busybox: wget is appending instead of 
replacing with "--header"
has caused the Debian Bug report #744725,
regarding busybox: wget is appending instead of replacing with "--header"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
744725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744725
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: busybox
Version: 1:1.22.0-5
Severity: normal

The following command fails for me:

---
$ busybox wget --header 'Host: 1.updates.services.ffhl' 
"http://luebeck.freifunk.net/stable/sysupgrade/gluon-ffhl-0.4-tp-link-tl-mr3420-v1-sysupgrade.bin";
Connecting to luebeck.freifunk.net (141.83.153.180:80)
wget: server returned error: HTTP/1.1 404 Not Found
---

While with GNU Wget 1.15 it works just fine:

---
wget --header 'Host: 1.updates.services.ffhl' 
"http://luebeck.freifunk.net/stable/sysupgrade/gluon-ffhl-0.4-tp-link-tl-mr3420-v1-sysupgrade.bin";
        
--2014-04-13 23:58:26--  
http://luebeck.freifunk.net/stable/sysupgrade/gluon-ffhl-0.4-tp-link-tl-mr3420-v1-sysupgrade.bin
Resolving luebeck.freifunk.net (luebeck.freifunk.net)... 141.83.153.180, 
2001:638:70a:b153:6e62:6dff:fe82:ec06
Connecting to luebeck.freifunk.net (luebeck.freifunk.net)|141.83.153.180|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 3407876 (3.2M) [application/octet-stream]
Saving to: ‘gluon-ffhl-0.4-tp-link-tl-mr3420-v1-sysupgrade.bin.3’

 0% [                                                                      ] 
28,936      10.1KB/s             ^C
---

Looking at the HTTP Get message with wireshark it seems that
busybox-wget is keeping the original "Host: luebeck.freifunk.net" and
only appends "Host: 1.updates.services.ffhl". While GNU-wget is
replacing the original http host field which seems to make more sense
from a user's perspective.

Cheers, Linus


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages busybox depends on:
ii  libc6  2.18-4

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:1.27.2-1

On 13/04/14 23:04, Linus Lüssing wrote:
> The following command fails for me:
> 
> ---
> $ busybox wget --header 'Host: 1.updates.services.ffhl' 
> "http://luebeck.freifunk.net/stable/sysupgrade/gluon-ffhl-0.4-tp-link-tl-mr3420-v1-sysupgrade.bin";
> Connecting to luebeck.freifunk.net (141.83.153.180:80)
> wget: server returned error: HTTP/1.1 404 Not Found
> ---
[snip]
> Looking at the HTTP Get message with wireshark it seems that
> busybox-wget is keeping the original "Host: luebeck.freifunk.net" and
> only appends "Host: 1.updates.services.ffhl". While GNU-wget is
> replacing the original http host field which seems to make more sense
> from a user's perspective.

Hi Linus,

I believe this bug is fixed with upstream commit
d7bfee1edb551d3503c7b616702a73192ba069a9, which is included in the
upstream 1.24.0 release. I cannot reproduce your test case in
1:1.27.2-2, currently in testing and unstable, so I believe that the bug
is indeed resolved in Debian.

Best regards,
Chris

-- 
Chris Boot
bo...@debian.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to