chinwagsocial/app
Claire 123a88b6b5 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-11-05 20:28:59 +01:00
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Fix webauthn secure key authentication (#16792) 2021-11-05 20:28:33 +01:00
helpers New Crowdin updates (#16269) 2021-05-20 00:19:52 +02:00
javascript New Crowdin updates (#16288) 2021-06-02 21:09:18 +02:00
lib Fix addressing of remote groups' followers (#16700) 2021-11-05 20:28:20 +01:00
mailers Prepare Mastodon for Rails 6 (#15911) 2021-03-17 10:09:55 +01:00
models Fix scheduled statuses decreasing statuses counts (#16791) 2021-11-05 20:28:41 +01:00
policies Add management of delivery availability in Federation settings (#15771) 2021-05-05 23:39:02 +02:00
presenters Add server rules (#15769) 2021-02-21 19:50:12 +01:00
serializers use relative path for scope (#16714) 2021-11-05 20:28:27 +01:00
services Fix some link previews being incorrectly generated from other prior links (#16885) 2021-11-05 20:28:59 +01:00
validators Fix existing username validator not allowing multiple accounts (#16153) 2021-05-04 14:22:04 +02:00
views Change trending hashtags to be affected be reblogs (#16164) 2021-05-07 14:33:43 +02:00
workers Fix when MoveWorker cannot get locale from remote account (#16576) 2021-11-05 20:26:36 +01:00