In the Site feedback category, gerhard reported that links to uploaded files in topic details on try.discourse.org were incorrect, redirecting to the main domain instead of the virtual host. Despite an initial comment from codinghorror that the issue appeared resolved, gerhard confirmed the links remained broken, showing a 404 error. yusf noted a similar bug where the single post link worked, but the topic details link failed, though pasting the URL directly into the browser sometimes triggered a download. riking identified the root cause as Ember incorrectly routing to /raw/ paths. codinghorror then sought assistance from @techAPJ, who resolved the issue in pull request #3507.
Almost the same bug: I get the same exact URL (to an uploaded file in this case) in single post and in topic details, but only the single post link works. Clicking the topic details link gives me:
The page you requested doesn’t exist or is private.
Here’s the weird part though:
select failed download URL in browser location bar
This is the same error with clicking a link to /raw/ - Ember tries to route to it, finds no route, gives 404 page even though the server would reply if you asked it.