mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:15:48 +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. |
||
---|---|---|
.. | ||
group_smtp_mailer_spec.rb | ||
invite_mailer_spec.rb | ||
rejection_mailer_spec.rb | ||
subscription_mailer_spec.rb | ||
test_mailer_spec.rb | ||
user_notifications_spec.rb | ||
version_mailer_spec.rb |