You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): ZMS-89: harden list header parsing for get message endpoints
- salvage valid <URI> entries from partially malformed List-Unsubscribe
values instead of discarding the whole header
- allow any URI scheme per RFC 2369 and non-ASCII characters in URIs
- keep unparseable values in the name property, the address property only
ever contains a syntactically valid URI
- parse List-ID with the new module as well, addressparser returned the
canonical bare <list-id> form as a display name with an empty address
- decode encoded word display names inside the module and do not run URI
entries through punycode decoding
- guard punycode.toUnicode in tools.decodeAddresses, an invalid xn-- label
in any address header crashed message detail responses with a RangeError
- normalize folding whitespace in repeated header values and comments
- run wildduck unit tests in grunt proto via the new unit mochaTest target
- clean up the extra message created by the List-Unsubscribe API test
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XBhfTgWZ9frXDrmenvdrx8
0 commit comments