Re: wget BUG: header host assign connection address

2021-06-22 Thread Petr Pisar
V Tue, Jun 22, 2021 at 02:55:29PM +0430, Pejman Taslimi napsal(a): > 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"

wget BUG: header host assign connection address

2021-06-22 Thread Pejman Taslimi
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