mirror of
https://github.com/makew0rld/amfora.git
synced 2025-02-02 15:07:34 -05:00
🐛 Don't keep query string on '..' - fixes #49
This commit is contained in:
parent
d32fc9159a
commit
a2a56b942a
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
- You can't change link selection while the page is loading
|
- 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)
|
- 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
|
## [1.3.0] - 2020-07-10
|
||||||
|
@ -139,6 +139,7 @@ func Init() {
|
|||||||
// Fix double slash that occurs at domain root
|
// Fix double slash that occurs at domain root
|
||||||
parsed.Path = "/"
|
parsed.Path = "/"
|
||||||
}
|
}
|
||||||
|
parsed.RawQuery = "" // Remove query
|
||||||
URL(parsed.String())
|
URL(parsed.String())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user