From 59a0fbfacd363354364e86706d4e84b3bc2ac49a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 20 Sep 2023 02:45:50 +0300 Subject: [PATCH] Revert "hdonly: prevent regex on null input" This reverts commit 857278c724761f7bc799e311ad3c6171012e0633. --- src/Jackett.Common/Definitions/hdonly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/hdonly.yml b/src/Jackett.Common/Definitions/hdonly.yml index 22a501354..1a740c9d4 100644 --- a/src/Jackett.Common/Definitions/hdonly.yml +++ b/src/Jackett.Common/Definitions/hdonly.yml @@ -106,7 +106,7 @@ search: # does not support categories, uses releasetype for single filter so we cannot do multi releasetype filtering either. # $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" searchstr: "{{ .Keywords }}" - filelist: "{{ if .Query.Episode }}{{ re_replace .Query.Episode \"\\bS\\d{1,3}\\b\" \"\" }}{{ else }}{{ end }}" + filelist: "{{ re_replace .Query.Episode \"\\bS\\d{1,3}\\b\" \"\" }}" taglist: "{{ .Query.Genre }}" action: browse group_results: 0