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.
mastodon/spec
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.
3 years ago
..
controllers Add remove from followers api (#16864) 3 years ago
fabricators Add feature to automatically delete old toots (#16529) 4 years ago
features
fixtures Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
helpers
lib Change routing paths to use usernames in web UI (#16171) 3 years ago
mailers Add Ruby 3.0 support (#16046) 4 years ago
models Add remove from followers api (#16864) 3 years ago
policies
presenters Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 4 years ago
requests Further preparation for Rails 6 (#15916) 4 years ago
routing
serializers/activitypub
services Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
support
validators Add canonical e-mail blocks for suspended accounts (#16049) 4 years ago
views Fix error when rendering public pages with media attachments (#16763) 3 years ago
workers Fix followers synchronization mechanism not working when URI has empty path (#16510) 4 years ago
rails_helper.rb
spec_helper.rb