Closed garbados closed 5 years ago
Recently the assignee of the linked bug was unassigned from it, leaving the issue dead in the water. I don't think we should expect *.localhost
support in Firefox any time soon.
Therefore I suggest we parameterize the loopback hostname rather than using a top-level constant, e.g. switching to this.loopback
over DAT_LOCALHOST_NAME
. This variable can be supplied via a --loopback
option in the CLI, which defaults to dat.localhost
.
A workaround for Firefox is to set the loopback to a value set in /etc/hosts
to point to localhost, like a fake domain name such as localhost.example
, so that Firefox's faulty *.localhost
handling doesn't kick in. (It redirects to http//
rather than http://
)
SGTM. 💜
Firefox does not handle *.localhost domains which means the localhosted experience of dat-gateway for Firefox users is broken.
ping @da2x