Fixed: Ignore case when importing extra files

This commit is contained in:
Qstick 2017-10-28 16:37:24 -04:00
parent ba27554bd3
commit d8adc3f480
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ namespace NzbDrone.Core.Extras
.Select(e => e.Trim(' ', '.'))
.ToList();
var matchingFilenames = files.Where(f => Path.GetFileNameWithoutExtension(f).StartsWith(sourceFileName));
var matchingFilenames = files.Where(f => Path.GetFileNameWithoutExtension(f).StartsWith(sourceFileName, StringComparison.InvariantCultureIgnoreCase));
foreach (var matchingFilename in matchingFilenames)
{