# 自定义头部链接拒绝Matrix URL

**URL:** <https://meta.discourse.org/t/custom-header-links-refuses-matrix-url/352433>\
**Category:** Bug\
**Tags:** custom-header-links\
**Created:** [2025年二月15日 12:16 UTC](https://meta.discourse.org/t/custom-header-links-refuses-matrix-url/352433 "2025-02-15T12:16:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2025年二月15日 12:16 UTC](https://meta.discourse.org/t/custom-header-links-refuses-matrix-url/352433/1 "2025-02-15T12:16:36Z")

</div>

更新到 3.4 版本时，自定义标题链接主题组件因类似 `https://matrix.to/#/#matrix-meta-chat:fedoraproject.org` 的 Matrix 链接而无法更新。错误信息为：“JSON 指针 `/3/url` 处的属性必须是有效的 URL。”

移除此链接后，更新顺利进行，但无法重新添加该链接。

（解决方法：创建一个重定向到 `https://matrix.to/#/#matrix-meta-chat:fedoraproject.org` 的永久链接 `/matrix`，然后将 `/matrix` 添加为自定义标题链接）

不过，也许可以使其更灵活一些。显然，该链接格式对于永久链接来说是没问题的。

---

_[View the full topic](https://meta.discourse.org/t/custom-header-links-refuses-matrix-url/352433)._
