lemmy_ynh icon indicating copy to clipboard operation
lemmy_ynh copied to clipboard

Comment links when using the /comment/1234 path error 404

Open mdesmedt opened this issue 1 year ago • 0 comments

Describe the bug

Comments I make on my Lemmy instance appear to have two formats:

  1. mysite.org/post/1234/comment/5678
  2. 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

  1. Go to a post on a lemmy_ynh instance
  2. Post a comment
  3. Click on the "Link icon" button and observe mysite.org/post/1234/comment/5678 works
  4. 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.

mdesmedt avatar Jun 23 '23 02:06 mdesmedt