I noticed that the logic for removing passkeys from URL’s seems to be a bit off in some cases. For example this is how Sonarr parses the following URL (where 123456 is example torrentID and 12345678900000000abc is example passkey) -
Original URL - https://wwww.torrentleech.org/rss/download/123456/12345678900000000abc/filename.torrent
Sonarr Log - https://wwww.torrentleech.org/<removed>/download/123456/12345678900000000abc/filename.torrent
This seems to be related to the regex in CleanseLogMessage -
new Regex(@"torrentleech\.org/(?<secret>[0-9a-z]+)", RegexOptions.Compiled | RegexOptions.IgnoreCase)
Not sure if this is just out of date, or there is a different format of URL that is built from RSS feeds (default is same as above) when using built-in Sonarr indexer. In my case, I’m manually fetching the URL and sending it to Sonarr via the API, which results in the URL format above.