livehosts icon indicating copy to clipboard operation
livehosts copied to clipboard

If there is a port number after hostname in the url, the request header 'Host' missing that port number.

Open sinylei opened this issue 1 year ago • 0 comments

If there is a port number after hostname in the url, the request header 'Host' missing that port number. This will lead the response redirect to wrong url.

for example, I want to access http://192.168.1.20:55000, with livehosts map (192.168.1.20 to myhost.com). The request header 'Host' contains only myhost.com, not myhost.com:55000, when my server response to redirect next url, only http://myhost.com/blablabla, which http://myhost.com:55000/blablabla is wanted.

sinylei avatar Nov 10 '22 15:11 sinylei