mirror of
https://github.com/go-shiori/shiori.git
synced 2025-03-10 14:59:39 +08:00
* preserve fragment in URLs (#315) * fix: correctly handle URLs without a fragment * simplify solution to (#315)
This commit is contained in:
parent
e5f2de0930
commit
2e1016e5f1
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ func RemoveUTMParams(url string) (string, error) {
|
|||
}
|
||||
}
|
||||
|
||||
tmp.Fragment = ""
|
||||
tmp.RawQuery = queryEncodeWithoutEmptyValues(queries)
|
||||
return tmp.String(), nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue