Links da barra lateral agem de forma estranha em configuração de subpasta

I run a Discourse forum under /d and I’m encountering some strange issues with links in the sidebar.

  1. If I try to link to the root website in the sidebar (with absolute URL), the sidebar automatically converts that to a link to /, which then shows up as a link to /d when clicked on. We fixed this for ourselves by linking to an entirely different domain that redirects to ours, but that shouldn’t really be needed.
  2. If I try to link to /d/admin in the sidebar, the link works, but the “Admin” option appears for everyone instead of just admins. The obvious fix is to change the link to /admin, which shows correctly, but it doesn’t sound like intended behavior.