mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-03-05 15:15:59 +02:00
strip some additional special characters when searching trakt
This commit is contained in:
parent
0d14a2df9e
commit
acee943d47
@ -20,7 +20,7 @@ namespace NzbDrone.Core.MetadataSource
|
|||||||
{
|
{
|
||||||
private readonly Logger _logger;
|
private readonly Logger _logger;
|
||||||
private static readonly Regex CollapseSpaceRegex = new Regex(@"\s+", RegexOptions.Compiled);
|
private static readonly Regex CollapseSpaceRegex = new Regex(@"\s+", RegexOptions.Compiled);
|
||||||
private static readonly Regex InvalidSearchCharRegex = new Regex(@"(?:\*)", RegexOptions.Compiled);
|
private static readonly Regex InvalidSearchCharRegex = new Regex(@"(?:\*|\(|\)|'|!)", RegexOptions.Compiled);
|
||||||
|
|
||||||
public TraktProxy(Logger logger)
|
public TraktProxy(Logger logger)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user