mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
fix for https://github.com/Jackett/Jackett/pull/13661#issuecomment-1286567697
This commit is contained in:
@@ -1484,6 +1484,7 @@ namespace Jackett.Common.Indexers
|
||||
var searchString = query.SearchTerm;
|
||||
// replace any space, special char, etc. with % (wildcard)
|
||||
var ReplaceRegex = new Regex("[^a-zA-Zа-яА-Я0-9]+");
|
||||
if (!string.IsNullOrWhiteSpace(searchString))
|
||||
searchString = ReplaceRegex.Replace(searchString, "%");
|
||||
|
||||
// if the search string is empty use the getnew view
|
||||
|
Reference in New Issue
Block a user