mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 04:52:52 +08:00
f3cad5f3a2
For e-mails, secure uploads redacts all secure images, and later uses the access control post to re-attached allowed ones. We pass the ID of this post through the X-Discourse-Post-Id header. As the name suggests, this assumes there's only ever one access control post. This is not true for activity summary e-mails, as they summarize across posts. This adds a new header, X-Discourse-Post-Ids, which is used the same way as the old header, but also works for the case where an e-mail is associated with multiple posts. |
||
---|---|---|
.. | ||
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 |