# 更改页面时锚点URL未清除

**URL:** <https://meta.discourse.org/t/anchors-url-not-purge-when-page-changed/244484>\
**Category:** Bug\
**Created:** [2022 年11 月 5 日 10:37 UTC](https://meta.discourse.org/t/anchors-url-not-purge-when-page-changed/244484 "2022-11-05T10:37:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
发布日期： [2022 年12 月 6 日 21:38 UTC](https://meta.discourse.org/t/anchors-url-not-purge-when-page-changed/244484/5 "2022-12-06T21:38:28Z")

</div>

这应该已经通过以下方式修复：[FIX: URL fragments not purging (#19324) · discourse/discourse@57fe57e · GitHub](https://github.com/discourse/discourse/commit/57fe57e7ce0a2a4c5ac3ce54184473b32aa33fab)

---

_[View the full topic](https://meta.discourse.org/t/anchors-url-not-purge-when-page-changed/244484)._
