mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 11:53:13 +00:00
ec059317fa
* 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. |
||
---|---|---|
.. | ||
.host-meta.txt | ||
activitypub-actor-individual.txt | ||
activitypub-actor-noinbox.txt | ||
activitypub-actor.txt | ||
activitypub-feed.txt | ||
activitypub-webfinger.txt | ||
attachment1.txt | ||
attachment2.txt | ||
avatar.txt | ||
feed.txt | ||
idn.txt | ||
json-ld.activitystreams.txt | ||
json-ld.identity.txt | ||
json-ld.security.txt | ||
koi8-r.txt | ||
localdomain-feed.txt | ||
localdomain-hostmeta.txt | ||
localdomain-webfinger.txt | ||
oembed_invalid_xml.html | ||
oembed_json.html | ||
oembed_json_empty.html | ||
oembed_json_xml.html | ||
oembed_undiscoverable.html | ||
oembed_xml.html | ||
oembed_youtube.html | ||
redirected.host-meta.txt | ||
sjis.txt | ||
sjis_with_wrong_charset.txt | ||
webfinger-hacker1.txt | ||
webfinger-hacker2.txt | ||
webfinger-hacker3.txt | ||
webfinger.txt | ||
windows-1251.txt |