GNOME Bugzilla – Bug 663505
Epiphany doesn't check /etc/hosts if only one word given in URL bar
Last modified: 2018-08-03 19:33:55 UTC
I have a small home network with transmission server on r2hv also known as r2hv.bedova (with ".bedova" being domain). When I enter "r2hv" or "r2hv:9091" in URL, I am directed to a search engine. "r2hv.bedova" and "r2hv.bedova:9091" are interpreted as addresses. On my machine: [ddc@ao531h ~]$ grep r2hv /etc/hosts 192.168.1.3 r2hv.bedova r2hv [ddc@ao531h ~]$ ping -c 1 r2hv PING r2hv.bedova (192.168.1.3) 56(84) bytes of data. 64 bytes from r2hv.bedova (192.168.1.3): icmp_req=1 ttl=255 time=0.964 ms --- r2hv.bedova ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.964/0.964/0.964/0.000 ms
Dan, I'm guessing libsoup should do this for us?
libsoup would resolve the name if you passed it to libsoup, but iirc, ephy assumes that a single word with no dots is a search query, not a hostname
(In reply to comment #2) > libsoup would resolve the name if you passed it to libsoup, but iirc, ephy > assumes that a single word with no dots is a search query, not a hostname Yeah, so we just need to ask libsoup first. I'll work on it.
*** Bug 602194 has been marked as a duplicate of this bug. ***
Thanks Diego! This is one of the tiny things that makes me look at Iceweasel at the office every now and then. (I'm the submitter of #602194)
*** Bug 752510 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/151.