summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions.go b/actions.go
index b8b3c87..a3cd1d7 100644
--- a/actions.go
+++ b/actions.go
@@ -400,6 +400,8 @@ func Up(state *BrowserState, conf *Config) error {
}
u.Path = u.Path[:strings.LastIndex(u.Path, "/")+1]
+ u.RawQuery = ""
+ u.Fragment = ""
return Navigate(state, &u, -1, conf)
}