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