Links onebox differently if end in /

I just noticed that the links to discourse threads are oneboxed differently if there’s a / in the end.

See links here:

https://meta.discourse.org/t/clear-empty-delete-database-for-another-import-development/66498

https://meta.discourse.org/t/clear-empty-delete-database-for-another-import-development/66498/

Namely, that the last one, with the trailing slash, adds the Discourse logo, and the first one does not.

8 Likes

It looks like the non slash generates an internal onebox while the slash link generates an external onebox.

5 Likes

Can you add this to your list @techAPJ or @vinothkannans

2 Likes

PR created with the FIX.

6 Likes

This topic was automatically closed after 26 hours. New replies are no longer allowed.