From a2a56b942a5eb175531139507ae97a52969fbe22 Mon Sep 17 00:00:00 2001 From: makeworld Date: Sun, 26 Jul 2020 11:33:59 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Don't=20keep=20query=20string=20?= =?UTF-8?q?on=20'..'=20-=20fixes=20#49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + display/display.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c293ba..cb7f287 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - You can't change link selection while the page is loading - Only one request is made for each URL - `v1.3.0` accidentally made two requests each time (#50) +- Using the `..` command doesn't keep the query string (#49) ## [1.3.0] - 2020-07-10 diff --git a/display/display.go b/display/display.go index e6d9650..abcff96 100644 --- a/display/display.go +++ b/display/display.go @@ -139,6 +139,7 @@ func Init() { // Fix double slash that occurs at domain root parsed.Path = "/" } + parsed.RawQuery = "" // Remove query URL(parsed.String()) return }