Links to uploaded files in topic details are wrong (try.discourse.org)

I’ve just noticed that at try.discourse.org the links to uploaded files in the topic details are wrong.

Steps to reproduce:

The link in the topic details is:
http://try.discourse.org/uploads/try2_discourse/102/ec5829847a91b748.log

The actual working link (as seen in the post) is: http://virtual-host-discourse.global.ssl.fastly.net/uploads/try2_discourse/102/ec5829847a91b748.log

4 Likes

These look OK to me now.

Nope, they are still wrong:

aha, OK, I see… I edited the post on the staging site. Will be fixed the next time try deploys. Feel free to flag this if still an issue.

1 Like

This is still an issue.

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:

  1. select failed download URL in browser location bar
  2. hit return key
  3. file download starts
1 Like

Maybe this is something you could assist with @techAPJ?

1 Like

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.

1 Like

Fixed :ant:

https://github.com/discourse/discourse/pull/3507

4 Likes