feat(filters): sanitize description (#1781)

feat(filters): sanitize description
This commit is contained in:
Kyle Sanderson 2024-10-23 07:44:00 -07:00 committed by GitHub
parent 8cd7d67cee
commit f89ea9e2ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View file

@ -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)