diff options
| author | Drew DeVault <[email protected]> | 2020-11-08 12:34:07 -0500 |
|---|---|---|
| committer | Drew DeVault <[email protected]> | 2020-11-08 12:34:07 -0500 |
| commit | cf33ad12e5c483856a168584c7fb0f69b1c415df (patch) | |
| tree | 1f4e9f6865a996f9434d32ad24a9a7d65358260b | |
| parent | Implement input and redirect responses (diff) | |
| download | capybara-cf33ad12e5c483856a168584c7fb0f69b1c415df.tar.xz capybara-cf33ad12e5c483856a168584c7fb0f69b1c415df.zip | |
Fix URLs with legit query strings in them
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) })) |