Broken thumbnail link in onebox

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’écran-2019-05-11-à-23.11.37.png.

Here is the example:

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

1 Like

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

2 Likes

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

3 Likes

Fixed via:

https://github.com/discourse/onebox/commit/57d43ad7d4a43f46df2d7a38fd04a45a08cd06f4

4 Likes