From cf33ad12e5c483856a168584c7fb0f69b1c415df Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 8 Nov 2020 12:34:07 -0500 Subject: [PATCH] Fix URLs with legit query strings in them --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 1925f0b..5999ae3 100644 --- a/main.go +++ b/main.go @@ -545,6 +545,8 @@ func main() { q := r.URL.Query() if x, ok := q["q"]; ok { req.URL.RawQuery = x[0] + } else { + req.URL.RawQuery = r.URL.RawQuery } proxyGemini(req, false, root, w, r) }))