mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-10 00:06:49 +01:00
Added another tracking parameter to removeTracking.
This commit is contained in:
parent
a0f995cd4d
commit
638c24819f
1 changed files with 4 additions and 0 deletions
|
@ -34,5 +34,9 @@ func removeTracking(input string) (output string, err error) {
|
|||
// used for tracking the referer by some feeds.
|
||||
output = strings.Split(output, "?ref=")[0]
|
||||
|
||||
// Remove the URL part starting with "?pk_", which is
|
||||
// used for tracking purposes.
|
||||
output = strings.Split(output, "?pk_")[0]
|
||||
|
||||
return output, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue