# 从 ics 导出时缺少帖子 URL

**URL:** <https://meta.discourse.org/t/post-url-missing-when-from-ics-exports/399015>\
**Category:** Feature\
**Tags:** events, completed\
**Created:** [2026年三月21日 07:31 UTC](https://meta.discourse.org/t/post-url-missing-when-from-ics-exports/399015 "2026-03-21T07:31:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2026年三月23日 17:39 UTC](https://meta.discourse.org/t/post-url-missing-when-from-ics-exports/399015/2 "2026-03-23T17:39:04Z")

</div>

将通过以下方式修复：

> <https://github.com/discourse/discourse/pull/38797>
>
> When events are exported to ICS, the post URL was no longer included in the DESC…RIPTION field. This regressed when the ICS template was updated to use IcalEncoder for RFC 5545 compliance — the old code called PrettyText.format\_for\_email which triggered a reduce\_cooked hook that embedded the post link, but the new code only used the raw post excerpt.
> 
> Append the post's full URL to the DESCRIPTION field so calendar entries link back to the originating Discourse topic.
> 
> https://meta.discourse.org/t/399015

---

_[View the full topic](https://meta.discourse.org/t/post-url-missing-when-from-ics-exports/399015)._
