Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
During my tests I've found out that the recipient list validation / tokenization seems to be broken in some ways:
- It accepts whitespace only recipients.
- One recipient can be inserted multiple times.
- Empty lines (surrounded by valiad addresses) are not discarded.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2156051-unify-recipient-address-handling-2.patch | 1.97 KB | torotil |
#1 | 2156051-unify-recipient-address-handling-1.patch | 1.97 KB | torotil |
Comments
Comment #1
torotil CreditAttribution: torotil commentedHere is a patch. It also unifies the recipient handling in the validate function and forward_recipient_list().
Comment #2
torotil CreditAttribution: torotil commentedOk here another fixup for a bogus empty() call.
Comment #3
john.oltman CreditAttribution: john.oltman commentedThanks for the patch, tested and applied to DEV branch