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개의 좋아요

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

5개의 좋아요

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

2개의 좋아요

PR created with the FIX.

6개의 좋아요

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