User rpasichnyk opened this support thread to report that their local Discourse installation fails to onebox images unless the domain is manually added to whitelisted_generic_onebox.rb, noting that no GET requests are sent for unlisted domains. While jomaxro questioned if the feature worked on Meta, rpasichnyk clarified they were testing a local VirtualBox setup and mentioned a related pull request for a onebox bug. zogstrip asked for a specific link to assist with oEmbed improvements. rpasichnyk provided an example using 23hq, which jomaxro confirmed worked on Meta because it was already whitelisted. Confusion arose when rpasichnyk found a Mobypicture link worked on Meta but failed locally, leading zogstrip to point to the whitelist file as the cause. The discussion concluded when codinghorror clarified that the whitelist mechanism was removed days prior and all URLs are now whitelisted, resolving the user’s confusion regarding the legacy code behavior.
I managed to onebox with rake server when I add my domain to whitelisted_generic_onebox.rb. Otherwise it doesn’t work. As I said earlier, onebox doesn’t even try to GET if the domain is not whitelisted.
Unfortunately I can not share the link, but the effect can be observed if you remove 23hq from onebox whitelist and test this url: 23: Kai Krause - mprove
It has oembed type of ‘photo’