Links to /raw/nnn content end up loading as an error


(Dean Taylor) #1

If links to a raw link, clicking it displays an error The page you requested doesn't exist or is private, opening in a new window displays as expected.
https://meta.discourse.org/raw/24012/6

E.g.
https://meta.discourse.org/raw/24012/6


Bug: raw links generate error and require reloading
Clicking link to raw version of post only works when opening in new tab
Left clicking /raw/ links return 404 errors
(Jeff Atwood) #2

This is how that has always worked, unfortunately. Something to do with Ember routing I presume @eviltrout as that page has no Ember JS on it.


(Kane York) #3

Yep. I tried building something that would make a HEAD request for the page and move there if it exists, but I couldn’t get it to work without breaking the back button.


(Jens Maier) #4

Would it be possible to force target="_blank" on these links?


(Robin Ward) #5

The Ember app assumes everything goes through it. We could add a front end route for that particular link but it doesn’t seem necessary.


(Jeff Atwood) #6