mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-07 15:02:54 +00:00
Reverted some special characters
This commit is contained in:
parent
aed76afa52
commit
e6e2f85d71
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ public static string CleanFilename(string name)
|
|||
{
|
||||
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 a new issue