sourcegraph/doc/dev/security
Milan Freml 83f26a38d0
fix: remove likelyDockerOnMac functionality (#50638)
## Description

This function is trying to resolve DNS to `host.docker.internal` which
might not work correctly on docker-compose environments, causing DNS
timeouts on an air-gapped customer instance.

We can do the same check on the UI itself by checking the user navigator
for Mac OS X string.

## Test plan

Tested locally by running sg, running in docker-compose. @indradhanush
and @jac present on a zoom call where we tested it together.

[main-dry-run is
here](https://buildkite.com/sourcegraph/sourcegraph/builds/213164)
2023-04-14 22:17:19 +02:00
..
csrf_security_model.md fix: remove likelyDockerOnMac functionality (#50638) 2023-04-14 22:17:19 +02:00
diagram-csrf-security-model.excalidraw remove extension registry UI and related GraphQL API (#45891) 2022-12-22 00:10:56 -08:00
index.md doc/dev: audit CSRF threat model; document it; add key recommendations (#23949) 2021-11-01 10:54:40 -07:00