Changed some special characters to more sane values in file names

This commit is contained in:
Mark McDowall 2014-02-22 11:25:17 -08:00
parent 259c408b67
commit aed76afa52
1 changed files with 1 additions and 1 deletions

View File

@ -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]);