# 大小写混合的邀请链接在某些浏览器中无法打开

**URL:** <https://meta.discourse.org/t/mixed-case-invite-url-fails-in-some-browsers/216615>\
**Category:** Support\
**Tags:** invites\
**Created:** [2022年一月31日 18:33 UTC](https://meta.discourse.org/t/mixed-case-invite-url-fails-in-some-browsers/216615 "2022-01-31T18:33:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkebler](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dkebler/32/245472_2.png) [@dkebler](https://meta.discourse.org/u/dkebler)\
**Post date:** [2022年一月31日 18:33 UTC](https://meta.discourse.org/t/mixed-case-invite-url-fails-in-some-browsers/216615/1 "2022-01-31T18:33:45Z")

</div>

Discourse 生成的 URL 包含大写和小写字母。该 URL 对大小写敏感。（即，如果更改了大小写，则无法加载正确的页面）。某些浏览器会将所有内容更改为小写，从而导致链接中断。

如果不需要大写，我建议生成的链接全部使用小写，以避免特定的浏览器问题，或者确保服务器将混合大小写视为小写。

供参考，我看到激活电子邮件中的链接没有大写字母，因此在邀请方面不是问题。

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2024年七月20日 06:39 UTC](https://meta.discourse.org/t/mixed-case-invite-url-fails-in-some-browsers/216615/2 "2024-07-20T06:39:15Z")

</div>

> [@dkebler](#):
>
> 有些浏览器会将所有内容更改为小写，从而破坏链接。

这可能是真的吗？我没听说过浏览器会将链接更改为小写。

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2024年七月22日 15:00 UTC](https://meta.discourse.org/t/mixed-case-invite-url-fails-in-some-browsers/216615/3 "2024-07-22T15:00:57Z")

</div>

此主题已在 2 天后自动关闭。不再允许回复。
