Clicking link to raw version of post only works when opening in new tab

A link to a raw version of a post in the post itself doesn’t work at first. Only when you open it in a new tab or reload the not found page it will show.

To reproduce:

  • Reply to a post or create a new topic
  • Get the raw link of that post
  • Edit the post to put the raw link to itself in it
  • Click the link

Expected result: you go to the raw version of said post

Actual result: page is not found. Reload and you get the raw version. Or open in a new tab/window.

Let’s try it out here as well. This is a link to this post: https://meta.discourse.org/raw/44716
Click the link and you’ll get a Oops! That page doesn’t exist or is private. Reload the page and all is fine.

1 Like

This comes up quite often. Maybe it should be fixed someday. :wink:

Anyway, duplicate of
https://meta.discourse.org/t/left-clicking-raw-links-return-404-errors/31314?u=gerhard

and

4 Likes