# Broken thumbnail link in onebox

**URL:** https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860
**Category:** Support
**Created:** [May 15, 2019, 10:40pm UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860 "2019-05-15T22:40:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [May 15, 2019, 10:40pm UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860/1 "2019-05-15T22:40:15Z")

</div>

When I share this link `https://www.camilleroux.com/2019/05/15/au-revoir-google/` in a post, the thumbnail is broken.

Discourse looks for  
`https://www.camilleroux.com/wp-content/uploads/2019/05/Capture-decran-2019-05-11-a-23.11.37.png` instead of  
`https://www.camilleroux.com/wp-content/uploads/2019/05/Capture-d’écran-2019-05-11-à-23.11.37.png`.

Here is the example:

> **[Au revoir Google](https://www.camilleroux.com/au-revoir-google/)**
>
> Ma dépendance envers Google a été progressive. J'ai commencé par utiliser le moteur de recherche. Puis je me suis inscrit à Gmail (le 27/10/2007 pour être exact) et c'est vite devenu ma boite mail par défaut.
> 
> Leurs services étant souvent bien faits,...

**edit** : I don’t know why the image is not display now. Here is what I see when a edit this post:

 ![18](https://global.discourse-cdn.com/meta/original/3X/1/7/176c9f047911638205f565d0197cb3cd30ed4685.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 16, 2019, 10:22am UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860/2 "2019-05-16T10:22:59Z")

</div>

Weird, @techAPJ, any idea why we would be losing the quote and the diacritrics in the image URL?

---

<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 16, 2019, 10:31am UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860/3 "2019-05-16T10:31:12Z")

</div>

Looks like we might be sanitizing the image link aggressively. I’ll have a look and check.

---

<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: [June 13, 2019, 9:11am UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860/5 "2019-06-13T09:11:45Z")

</div>

Fixed via:

[https://github.com/discourse/onebox/commit/57d43ad7d4a43f46df2d7a38fd04a45a08cd06f4](https://github.com/discourse/onebox/commit/57d43ad7d4a43f46df2d7a38fd04a45a08cd06f4)

---

<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: [June 17, 2019, 6:55am UTC](https://meta.discourse.org/t/broken-thumbnail-link-in-onebox/117860/6 "2019-06-17T06:55:29Z")

</div>


