It try to fix a strange behavior, when I copy a link from a site I manage, the one box is appearing, but the favicon url is not correct, as an example:
The favicon URL of the site is https://www.openmandriva.org/squelettes/icons/favicon-32x32.png (I even put the absolute URL in the head) as it can be seen in the source.
But Discourse try to fetch a favicon relative to the post URL, ie https://www.openmandriva.org/it/notizie/article/la-migliore-di-sempre-rilasciata-omlx-4-0/squelettes/icons/favicon-32x32.png, and as a result, the link is broken.
I did not touch anything, that’s really weird because here above also the icon appears in onebox
Edit: In fact I maybe get an idea, but I don’t know if it’s a start of an explanation: I changed the generic template in order to have favicon absolute URLs in heads, and forced this particular page to update the template, but not other pages (which were to be updated later depending on their cache expiry)… Maybe discourse get the favicon information from the non updated landing (root) page source and not from the pasted URL source itself?