# yml 中的 from: & to: 语法钩子

**URL:** <https://meta.discourse.org/t/hooks-from-to-syntax-in-yml-to-disable-anonymous-searches/370952>\
**Category:** Product Support\
**Created:** [2025 年6 月 19 日 21:19 UTC](https://meta.discourse.org/t/hooks-from-to-syntax-in-yml-to-disable-anonymous-searches/370952 "2025-06-19T21:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

作者： ![opcourdis](https://avatars.discourse-cdn.com/v4/letter/o/45deac/32.png) [@opcourdis](https://meta.discourse.org/u/opcourdis)\
发布日期： [2025 年6 月 21 日 22:04 UTC](https://meta.discourse.org/t/hooks-from-to-syntax-in-yml-to-disable-anonymous-searches/370952/8 "2025-06-21T22:04:08Z")

</div>

“那将是一个安全问题。如果你能做到，请务必向 [HackerOne](https://hackerone.com/discourse) 报告。”

不，我是 Discourse 新手，甚至连正确引用都做不到 :)，我只是问一下，也许有 Discourse 工程师在这里 :)；总之，多亏了你 Falco，我们解决了这个帖子的问题。

---

_[View the full topic](https://meta.discourse.org/t/hooks-from-to-syntax-in-yml-to-disable-anonymous-searches/370952)._
