cleanse postgres username/pass creds

Fixes #632
This commit is contained in:
bakerboy448
2021-11-23 21:01:04 -06:00
committed by Qstick
parent 01fe990417
commit eff8fdebf5
2 changed files with 4 additions and 1 deletions
@@ -80,6 +80,9 @@ namespace NzbDrone.Common.Test.InstrumentationTests
// RSS
[TestCase(@"<atom:link href = ""https://api.nzb.su/api?t=search&amp;extended=1&amp;cat=3030&apikey=mySecret&amp;q=Diggers"" rel=""self"" type=""application/rss+xml"" />")]
// Internal
[TestCase(@"[Info] MigrationController: *** Migrating Database=prowlarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;Enlist=False ***")]
public void should_clean_message(string message)
{
var cleansedMessage = CleanseLogMessage.Cleanse(message);