# “最后发帖”状态暴露私信日期（隐私漏洞）

**URL:** https://meta.discourse.org/t/last-post-stat-exposes-private-message-dates-privacy-bug/117541
**Category:** Feature
**Created:** [2019年五月13日 03:11 UTC](https://meta.discourse.org/t/last-post-stat-exposes-private-message-dates-privacy-bug/117541 "2019-05-13T03:11:56Z")
**Posts on this page:** 1
**Showing post:** 26

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2019年十月30日 22:07 UTC](https://meta.discourse.org/t/last-post-stat-exposes-private-message-dates-privacy-bug/117541/26 "2019-10-30T22:07:43Z")

</div>

此功能已完整实现，参见：

> <https://github.com/discourse/discourse/commit/d8f7f363cd90c897aac1586ffc3da9c17af04187>
>
> This ensures we only update last\_posted\_at which is user facing for non messages…
> and non whispers.
> 
> We still update this date for secure categories, we do not revert it for
> deleted posts.

我们 **不再** 为“悄悄话”（whispers）和私信（PMs）更新“最后发帖时间”。

**注意事项**

- 如果用户在受保护的板块发帖，此信息将泄露给站点上的所有用户。

- 过去依赖此日期进行 Moderation 的管理员可能会感到惊讶，例如发现 Jane 自六月以来实际上发布了 12344 条消息（尽管她此前被认为未在站点上活动）。

- 我们不会在帖子删除时“规范化”此日期，因此如果用户发帖后帖子被删除，我们不会修正该值。

如果您对上述注意事项有异议，请在新建 #Contribute > Feature 板块中发帖讨论。

（注：我已清理了此处所有旧讨论，因为讨论变得激烈且混乱。）

---

_[View the full topic](https://meta.discourse.org/t/last-post-stat-exposes-private-message-dates-privacy-bug/117541)._
