mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 12:31:08 +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. |
||
|---|---|---|
| .. | ||
| _custom_header.erb | ||
| _footer.html.erb | ||
| _footer.text.erb | ||
| _header.html.erb | ||
| _header.text.erb | ||
| _new_topic.html.erb | ||
| _new_topics.html.erb | ||
| _other_new_topics.text.erb | ||
| _popular_post.html.erb | ||
| _popular_posts.html.erb | ||
| _popular_posts.text.erb | ||
| _popular_topic.html.erb | ||
| _popular_topics.html.erb | ||
| _popular_topics.text.erb | ||
| _stats.html.erb | ||
| _styles.html.erb | ||