forked from mirrors/catstodon
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123a88b6b5
* 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. |
3 years ago | |
---|---|---|
.. | ||
controllers | 3 years ago | |
fabricators | 3 years ago | |
features | 4 years ago | |
fixtures | 3 years ago | |
helpers | 3 years ago | |
lib | 3 years ago | |
mailers | 3 years ago | |
models | 3 years ago | |
policies | 4 years ago | |
presenters | 3 years ago | |
requests | 3 years ago | |
routing | ||
serializers/activitypub | 5 years ago | |
services | 3 years ago | |
support | 4 years ago | |
validators | 3 years ago | |
views | 5 years ago | |
workers | 3 years ago | |
rails_helper.rb | 4 years ago | |
spec_helper.rb | 5 years ago |