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


(Gerhard Schlager) #1

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


(Jeff Atwood) #2

These look OK to me now.


(Gerhard Schlager) #3

Nope, they are still wrong:


(Jeff Atwood) #4

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.


(Gerhard Schlager) #5

This is still an issue.


(yusf) #6

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

(Jeff Atwood) #7

Maybe this is something you could assist with @techAPJ?


(Kane York) #8

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.


(Arpit Jalan) #9

Fixed :ant:

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


(Arpit Jalan) #10