mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-08 09:45:48 +00:00
Changed some special characters to more sane values in file names
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user