Fix URLs with legit query strings in them
This commit is contained in:
parent
6531cf3930
commit
cf33ad12e5
1 changed files with 2 additions and 0 deletions
2
main.go
2
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)
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue