lemmy_ynh
lemmy_ynh copied to clipboard
Comment links when using the /comment/1234 path error 404
Describe the bug
Comments I make on my Lemmy instance appear to have two formats:
- mysite.org/post/1234/comment/5678
- mysite.org/comment/5678
The former resolves fine on my server, but the latter gives a 404 error. Federated comments link to the /comment URL so all links to my comments from remote instances produce a 404.
Context
- Hardware: VPS with Debian 11
- YunoHost version: 11.1.21.4 (stable)
- I have access to my server: SSH & Web
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Steps to reproduce
- Go to a post on a lemmy_ynh instance
- Post a comment
- Click on the "Link icon" button and observe mysite.org/post/1234/comment/5678 works
- Now click on the "Fediverse icon" button and observe mysite.org/comment/5678 produces a 404 error
Expected behavior
Both styles of links should work.