hget icon indicating copy to clipboard operation
hget copied to clipboard

Not support host contains port,such as http://example:8000/something

Open hhofchina opened this issue 5 years ago • 0 comments

fix http.go:47

//       ips, err := net.LookupIP(parsed.Host) 
        host := parsed.Host
        if strings.LastIndex(host, ":") != -1 {
		host = parsed.Host[:strings.LastIndex(host, ":")]
	}
	ips, err := net.LookupIP(host)

hhofchina avatar Feb 21 '20 14:02 hhofchina