diff options
| author | Adnan Maolood <[email protected]> | 2020-11-27 22:26:22 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-11-27 22:27:52 -0500 |
| commit | 16739d20d0c97162c2a19dc47a4fd4318aa12a7e (patch) | |
| tree | 9794faa7c0afce6e53f97639766ae31c011b744f /client.go | |
| parent | examples/server: Increase certificate duration (diff) | |
| download | go-gemini-16739d20d0c97162c2a19dc47a4fd4318aa12a7e.tar.xz go-gemini-16739d20d0c97162c2a19dc47a4fd4318aa12a7e.zip | |
Fix escaping of queries
Diffstat (limited to 'client.go')
| -rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ func (c *Client) do(req *Request, via []*Request) (*Response, error) { input, ok := c.GetInput(resp.Meta, resp.Status == StatusSensitiveInput) if ok { req.URL.ForceQuery = true - req.URL.RawQuery = url.QueryEscape(input) + req.URL.RawQuery = QueryEscape(input) return c.do(req, via) } } |