Skip to content

Commit

Permalink
preserve fragment in URLs (#315) (#687)
Browse files Browse the repository at this point in the history
* preserve fragment in URLs (#315)

* fix: correctly handle URLs without a fragment

* simplify solution to (#315)
  • Loading branch information
arakimo committed Aug 5, 2023
1 parent e5f2de0 commit 2e1016e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/core/url.go
Expand Up @@ -52,7 +52,6 @@ func RemoveUTMParams(url string) (string, error) {
}
}

tmp.Fragment = ""
tmp.RawQuery = queryEncodeWithoutEmptyValues(queries)
return tmp.String(), nil
}

0 comments on commit 2e1016e

Please sign in to comment.