From 39ab058ea779763b83e05812cd222e2cbef90eab Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 12 Aug 2023 10:48:08 -0600 Subject: Revert "text fixes" This reverts commit 7efdcf9277c4a7be88179cb93d309d2f1e684fe6. except the error text fix, keep that. --- gopher/request.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gopher') diff --git a/gopher/request.go b/gopher/request.go index eef8262..fdd7480 100644 --- a/gopher/request.go +++ b/gopher/request.go @@ -26,7 +26,8 @@ func ParseRequest(rdr io.Reader) (*types.Request, error) { URL: &url.URL{ Scheme: "gopher", Path: path.Clean(selector), - OmitHost: true, + OmitHost: true, //nolint:typecheck + // (for some reason typecheck on drone-ci doesn't realize OmitHost is a field in url.URL) RawQuery: url.QueryEscape(search), }, }, nil -- cgit v1.2.3