Reddit oneboxes not working

Did they stop working? No onebox at all:

https://www.reddit.com/r/UFOs/comments/k18ukd/๐—จ๐—™๐—ข_๐—ฑ๐—ฟ๐—ผ๐—ฝ๐˜€_๐—ฐ๐—ผ๐˜„_๐˜๐—ต๐—ฟ๐—ผ๐˜‚๐—ด๐—ต_๐—ฏ๐—ฎ๐—ฟ๐—ป_๐—ฟ๐—ผ๐—ผ๐—ณ/

Fails on here, but works on my sites with onebox assistant plugin โ€ฆ suspect the crawl is being blocked or rate limited?


Oh my that is a crime of a URL :scream:.

@jamie.wilson did we regress on encoded URLs in oneboxes? I remember you mentioning it somewhere on the last updatesโ€ฆ

4 Likes

I donโ€™t think itโ€™s a regression (or, at least, a regression that Iโ€™ve introduced recently). It is very closely related to other URL encoding stuff Iโ€™ve been looking at, so Iโ€™ll get some PRs in place for this today.

4 Likes

I believe reddit links generally are working (see the shouldercat above). As @falco pointed out, the link that @terrapop posted has a bunch of Unicode characters in it and this is whatโ€™s causing the problem.

Once the following are both merged in (and onebox gets a version bump), the original link should become oneboxโ€™able.

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

https://github.com/discourse/onebox/pull/442

4 Likes