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(mailtrap): validate nested payloads and unbalanced address delimiters
Response payloads (utils.ts + read transforms):
- add expectRecord / expectArray / expectContactList / expectSendingMessage
- get/create/update_contact require the `data` object; the contact-list
transforms require a numeric `id`; get_email_log requires a `message_id`;
list_email_logs requires a `messages` array
- a well-formed 2xx body that is missing its defining slice ({} on
get_contact, { "messages": "bad" } on list_email_logs) now fails instead
of producing a fabricated empty result
- the list transforms keep the lenient per-row mappers, so one bad row
does not drop the whole page
Recipient tokenizer (utils.ts):
- splitAddressEntries throws on an unbalanced quote or angle bracket
instead of running to the end of the string and absorbing every
following recipient into one entry
- each address is checked against a bare-address pattern
(/^[^\s"<>,@]+@[^\s"<>,@]+$/) rather than a bare "contains @" test, so a
value carrying spaces, commas, or brackets is rejected
0 commit comments