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

**URL:** https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537
**Category:** Site feedback
**Created:** [February 22, 2015, 7:16pm UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537 "2015-02-22T19:16:05Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [February 22, 2015, 7:16pm UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/1 "2015-02-22T19:16:05Z")

</div>

I’ve just noticed that at [try.discourse.org](http://try.discourse.org) the links to uploaded files in the topic details are wrong.

**Steps to reproduce:**

- Go to [Can I upload attachments? - discourse - Discourse Demo](http://try.discourse.org/t/can-i-upload-attachments/123)
- Open the topic details
- Click on a link to an uploaded file

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`

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 25, 2015, 9:04am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/2 "2015-04-25T09:04:15Z")

</div>

These look OK to me now.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [April 25, 2015, 9:27am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/3 "2015-04-25T09:27:53Z")

</div>

Nope, they are still wrong:  
 ![](https://global.discourse-cdn.com/meta/original/3X/7/9/79a8140dab483ad38aae0cad735fb815e4c3e3f5.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 25, 2015, 9:33am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/4 "2015-04-25T09:33:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [May 12, 2015, 8:16pm UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/5 "2015-05-12T20:16:50Z")

</div>

This is still an issue.

---

<div class="post-metadata">

### Author: ![yusf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yusf/32/107924_2.png) [@yusf](https://meta.discourse.org/u/yusf)
#### Post date: [May 28, 2015, 8:07am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/6 "2015-05-28T08:07:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 28, 2015, 8:10am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/7 "2015-05-28T08:10:53Z")

</div>

Maybe this is something you could assist with @techAPJ?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [May 28, 2015, 8:21am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/8 "2015-05-28T08:21:01Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 28, 2015, 9:57am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/9 "2015-05-28T09:57:49Z")

</div>

Fixed 🐜

[https://github.com/discourse/discourse/pull/3507](https://github.com/discourse/discourse/pull/3507)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 28, 2015, 10:49am UTC](https://meta.discourse.org/t/links-to-uploaded-files-in-topic-details-are-wrong-try-discourse-org/25537/10 "2015-05-28T10:49:43Z")

</div>


