Changed some special characters to more sane values in file names
This commit is contained in:
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…
Reference in New Issue