mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(filters): sanitize description (#1781)
feat(filters): sanitize description
This commit is contained in:
parent
8cd7d67cee
commit
f89ea9e2ff
2 changed files with 17 additions and 0 deletions
|
@ -332,6 +332,11 @@ func (f *Filter) Sanitize() error {
|
|||
f.ExceptReleases = sanitize.FilterString(f.ExceptReleases)
|
||||
}
|
||||
|
||||
if !f.UseRegexDescription {
|
||||
f.MatchDescription = sanitize.FilterString(f.MatchDescription)
|
||||
f.ExceptDescription = sanitize.FilterString(f.ExceptDescription)
|
||||
}
|
||||
|
||||
f.MatchReleaseGroups = sanitize.FilterString(f.MatchReleaseGroups)
|
||||
f.ExceptReleaseGroups = sanitize.FilterString(f.ExceptReleaseGroups)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue