Description
This release fixes fuzzy hash parsing to support the new annotated X-Rspamd-Fuzzy header format introduced in Rspamd, while remaining compatible with the legacy bare-hash format.
Bug Fixes
- Fixed fuzzy hash parsing for the new annotated header format: The add-on now correctly extracts fuzzy hashes from
X-Rspamd-Fuzzyheaders that include Rspamd's annotation syntax (<hash> (rule=...; flag=...; prob=...; added=...)), in both "override" mode (multiple headers) and "compat" mode (comma-separated hashes in one header). Previously, hashes with annotations were not recognized, breaking the "copy full fuzzy hash" and fuzzy delisting features. - Prevent capturing "queried" content hashes: For non-exact fuzzy matches, the annotation may include a
queried=<hash>field. This hash is now correctly excluded from the list of blocklist hashes offered for copying or delisting. - Compatibility with the legacy bare-hash format (Rspamd prior to the annotation change) is preserved.