mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
In Go it's possible to have URLs without a valid host portion 🤷 . This has unintended side-effects when filtering hostnames. ## Test plan Tested that URLs that have no hostname are now blocked. <!-- REQUIRED; info at https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles --> ## Changelog <!-- OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c --> |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| client_test.go | ||
| client.go | ||
| CODENOTIFY | ||
| doc.go | ||
| external.go | ||
| init.go | ||
| noop_response_cache.go | ||
| redis_logger_middleware_test.go | ||
| redis_logger_middleware.go | ||
| transport.go | ||