up action clears other url components

This commit is contained in:
tjp 2024-01-10 11:56:23 -07:00
parent cde393cdf5
commit 01e024bc49
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}