bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wget BUG: header host assign connection address


From: Pejman Taslimi
Subject: wget BUG: header host assign connection address
Date: Tue, 22 Jun 2021 14:55:29 +0430

Dear maintainers,

The following command with any random IP retrieves google.com! Here I've
just set a header, but wget connects really to google.com instead of
192.168.15.15.

$ wget -O- http://192.168.15.15 --header="Host: www.google.com"

However if I change http to https, it behaves as expected:

$ wget -O- https://192.168.15.15 --header="Host: www.google.com"

happens to the following version:
wget-1.20.3-4.fc32.x86_64
wget-1.21.1-2.fc32.x86_64

I wish this is the correct way of bug report, for this beloved wget!!

Best wishes
Mani


reply via email to

[Prev in Thread] Current Thread [Next in Thread]