From 7efdcf9277c4a7be88179cb93d309d2f1e684fe6 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 12 Aug 2023 08:48:12 -0600 Subject: text fixes * trying again with drone-ci and OmitHost * typo in the InvalidFingerQuery error message --- gopher/request.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gopher') diff --git a/gopher/request.go b/gopher/request.go index 0757654..4aac218 100644 --- a/gopher/request.go +++ b/gopher/request.go @@ -26,8 +26,7 @@ func ParseRequest(rdr io.Reader) (*sr.Request, error) { URL: &url.URL{ Scheme: "gopher", Path: path.Clean(selector), - OmitHost: true, //nolint:typecheck - // (for some reason typecheck on drone-ci doesn't realize OmitHost is a field in url.URL) + OmitHost: true, RawQuery: url.QueryEscape(search), }, }, nil -- cgit v1.2.3