diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-08-12 08:48:12 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-08-12 08:48:12 -0600 |
commit | 7efdcf9277c4a7be88179cb93d309d2f1e684fe6 (patch) | |
tree | 3e477ee93101e070a8ba881ac542d81d75561bae /gopher/request.go | |
parent | bb4bbc5659a506533eb2d45f102ea394e050cee2 (diff) |
text fixes
* trying again with drone-ci and OmitHost
* typo in the InvalidFingerQuery error message
Diffstat (limited to 'gopher/request.go')
-rw-r--r-- | gopher/request.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 |