mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +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. |
||
---|---|---|
.. | ||
authentication_results.rb | ||
build_email_helper.rb | ||
cleaner.rb | ||
message_builder.rb | ||
message_id_service.rb | ||
poller.rb | ||
processor.rb | ||
receiver.rb | ||
renderer.rb | ||
sender.rb | ||
styles.rb | ||
validator.rb |