Changed some special characters to more sane values in file names

pull/6/head
Mark McDowall 11 years ago
parent 259c408b67
commit aed76afa52

@ -247,7 +247,7 @@ namespace NzbDrone.Core.Organizer
{
string result = name;
string[] badCharacters = { "\\", "/", "<", ">", "?", "*", ":", "|", "\"" };
string[] goodCharacters = { "+", "+", "{", "}", "!", "@", "-", "#", "`" };
string[] goodCharacters = { "-", "-", "", "", "!", "-", "-", "", "" };
for (int i = 0; i < badCharacters.Length; i++)
result = result.Replace(badCharacters[i], goodCharacters[i]);

Loading…
Cancel
Save