mastodon/spec/fixtures
Claire 5b07f4e90e Fix some link previews being incorrectly generated from other prior links (#16885)
* Add tests

* Fix some link previews being incorrectly generated from different prior links

PR #12403 added a cache to avoid redundant queries when the OEmbed endpoint can
be guessed from the URL. This caching mechanism is not perfectly correct as
there is no guarantee that all pages from a given domain share the same
OEmbed provider endpoint.

This PR prevents the FetchOEmbedService from caching OEmbed endpoint that
cannot be generalized by replacing a fully-qualified URL from the endpoint's
parameters, greatly reducing the number of incorrect cached generalizations.
2022-01-28 22:52:42 +01:00
..
files Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
push
requests Fix some link previews being incorrectly generated from other prior links (#16885) 2022-01-28 22:52:42 +01:00
salmon
xml Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00