[Bug]: HTTP(S) URLs that looks like an ENS name get resolved through MetaMask
Describe the bug
I would expect all URLs that begin with http or https to be resolved with one of those protocols, but if I put example.eth in my /etc/hosts and try to navigate to it, I end up on the ENS dapp.
Only URLs that use the IPFS scheme should be resolved using the IPFS protocol.
This is especially important for ENS names that are both a valid DNS name and a valid ENS name.
Steps to reproduce
sudo sh -c 'echo 93.184.216.34 example.eth >> /etc/hosts'- Navigate to
https://example.ethin a browser. - Get redirected to ENS.
Error messages or log output
No response
Version
10.18.1
Build type
No response
Browser
Firefox
Operating system
Linux
Hardware wallet
No response
Additional context
https://twitter.com/SamWilsn/status/1555596847393247232
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days. Thank you for your contributions.
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.