mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 13:58:53 +08:00
# Problem When an admin sends a digest preview to an arbitrary email address, the email contained functional unsubscribe links belonging to the target user, allowing the recipient to unsubscribe that user without their consent. # Solution Pass `skip_unsubscribe_links: true` when generating preview digests, which skips `UnsubscribeKey` creation and suppresses unsubscribe content from both email headers and body templates at the source. |
||
|---|---|---|
| .. | ||
| admin_confirmation_mailer.rb | ||
| download_backup_mailer.rb | ||
| group_smtp_mailer.rb | ||
| invite_mailer.rb | ||
| rejection_mailer.rb | ||
| subscription_mailer.rb | ||
| test_mailer.rb | ||
| user_notifications.rb | ||
| version_mailer.rb | ||