chinwagsocial/app
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
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Fix serialization of followers/following counts when user hides their network (#16418) 2022-01-28 22:52:42 +01:00
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 2020-12-15 12:56:43 +01:00
javascript New Crowdin updates (#15413) 2020-12-26 23:51:46 +01:00
lib Fix some RedisLocks auto-releasing too fast (#16276) 2022-01-28 22:39:48 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Fix followers synchronization mechanism not working when URI has empty path (#16510) 2022-01-28 22:52:41 +01:00
policies Fix admins being able to suspend their instance actor (#14567) 2020-12-15 17:23:58 +01:00
presenters Fix performance on instances list in admin UI (#15282) 2020-12-14 09:06:34 +01:00
serializers use relative path for scope (#16714) 2022-01-28 22:39:48 +01:00
services Fix some link previews being incorrectly generated from other prior links (#16885) 2022-01-28 22:52:42 +01:00
validators Fix follow limit preventing re-following of a moved account (#14207) 2020-12-18 09:18:31 +01:00
views Fix custom CSS when CDN_HOST is set (#15927) 2022-01-28 22:39:48 +01:00
workers Fix followers synchronization mechanism not working when URI has empty path (#16510) 2022-01-28 22:52:41 +01:00