mastodon/app
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
..
chewy
controllers Add remove from followers api (#16864) 2021-10-18 12:02:35 +02:00
helpers Add Northern Kurdish locale as requested by translator. It already has a project started on Crowdin. (#16548) 2021-10-14 21:02:54 +02:00
javascript Enhance dashboard styles (#16884) 2021-10-21 06:24:34 +02:00
lib Fix retention rate computation (#16854) 2021-10-14 22:20:37 +02:00
mailers
models Add remove from followers api (#16864) 2021-10-18 12:02:35 +02:00
policies Add ability to skip sign-in token authentication for specific users (#16427) 2021-07-08 05:31:28 +02:00
presenters Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
serializers Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
services Fix some link previews being incorrectly generated from other prior links (#16885) 2021-10-21 20:39:35 +02:00
validators Minor memory optimizations (#16507) 2021-10-14 21:04:57 +02:00
views Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
workers Fix followers synchronization mechanism not working when URI has empty path (#16510) 2021-08-11 17:48:42 +02:00