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.
4 years ago
..
controllers Add remove from followers api (#16864) 4 years ago
fabricators Add feature to automatically delete old toots (#16529) 4 years ago
features Add submit button to the top of preferences pages (#13068) 5 years ago
fixtures Fix some link previews being incorrectly generated from other prior links (#16885) 4 years ago
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 4 years ago
lib Change routing paths to use usernames in web UI (#16171) 4 years ago
mailers Add Ruby 3.0 support (#16046) 4 years ago
models Add remove from followers api (#16864) 4 years ago
policies Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
presenters Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 4 years ago
requests Further preparation for Rails 6 (#15916) 4 years ago
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 8 years ago
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 6 years ago
services Fix some link previews being incorrectly generated from other prior links (#16885) 4 years ago
support Fix base64-encoded file uploads not being possible (#12748) 5 years ago
validators Add canonical e-mail blocks for suspended accounts (#16049) 4 years ago
views Fix error when rendering public pages with media attachments (#16763) 4 years ago
workers Fix followers synchronization mechanism not working when URI has empty path (#16510) 4 years ago
rails_helper.rb Add WebAuthn as an alternative 2FA method (#14466) 5 years ago
spec_helper.rb Move rspec examples to tmp dir (#12539) 5 years ago