mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 10:30:31 +08:00
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 | ||