1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00

Replaced <removed> with (removed) for the log cleanser so it doesn't mess with forums.

This commit is contained in:
Taloth Saldono 2016-02-18 19:11:39 +01:00
parent a22c0499d5
commit a5077b0b1b

View File

@ -50,7 +50,7 @@ public static string Cleanse(string message)
var value = m.Value;
foreach (var capture in m.Groups["secret"].Captures.OfType<Capture>().Reverse())
{
value = value.Replace(capture.Index - m.Index, capture.Length, "<removed>");
value = value.Replace(capture.Index - m.Index, capture.Length, "(removed)");
}
return value;