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