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.
When unsubscribing from a newsletter with a mail address unknown to the system, the unsubscribe mail contains a link without a hash. This link leads to a 404 page.
Problem with this is that we don't generate a whole subscriber object inside of simplenews_unsubscribe_user()
. On the other side simplenews_subscribe_user()
generates a whole object which causes a correct link with a hash appended.
Comment | File | Size | Author |
---|---|---|---|
#2 | simplenews_create-subscriber-on-unsubscribe_2645086_2.patch | 1.79 KB | lucastockmann |
Comments
Comment #2
lucastockmann CreditAttribution: lucastockmann at undpaul commentedThis patch creates a user when unsubscribing with a mail address unknown to the system.
Comment #3
BerdirI don't really understand the problem description and how the patch helps to fix this?
In case a subscriber isn't subscribed, then we don't send an unsubscribe link, we send a different mail that explains exactly that? See simplenews_build_unsubscribe_mail()
Comment #4
BerdirComment #5
TR CreditAttribution: TR commentedNo further information provided. If you continue to have this problem then feel free to reopen this issue and address the maintainer's questions in #3.