mastodon/spec/fixtures
Claire ec059317fa
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.
2021-10-21 20:39:35 +02:00
..
files Switch from unmaintained paperclip to kt-paperclip (#16724) 2021-09-29 23:52:36 +02:00
push Handle delete Salmons, todo: clean up timelines 2016-09-04 14:44:16 +02:00
requests Fix some link previews being incorrectly generated from other prior links (#16885) 2021-10-21 20:39:35 +02:00
salmon Writing out more tests, fixed some bugs 2016-03-20 13:03:06 +01:00