Update DlnaManager.cs

Fix for #4060
This commit is contained in:
BaronGreenback 2020-09-05 19:48:37 +01:00 committed by GitHub
parent 6d154041b9
commit e3fdea2ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ namespace Emby.Dlna
{
try
{
return Regex.IsMatch(input, pattern);
return Regex.IsMatch(input, pattern, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant) || input.Contains(pattern, StringComparison.OrdinalIgnoreCase);
}
catch (ArgumentException ex)
{