Fetch List-Unsubscribe as URLs, the form RFC 8621 gives it #62

Merged
jcoffey-dev merged 1 commits from fix/list-unsubscribe-as-urls into main 2026-10-27 06:56:38 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 94ab1ffed3 Fetch List-Unsubscribe as URLs, the form RFC 8621 gives it
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m45s
List-Unsubscribe is an RFC 2369 header, and RFC 8621 4.1.2.3 allows the
Text form only for headers outside RFC 5322 and RFC 2369. Stalwart 0.16
answered it anyway; Stalwart 1.0 refuses the whole Email/get with
invalidArguments, so no message could be opened. asURLs returns the list the
reader was extracting by hand, on both versions.

Also drops the unused Return-Path and Received asText typings, which 1.0
refuses for the same reason.
2026-10-26 23:34:45 -07:00