pleroma/lib/pleroma/web
Mark Felder 72d4d1b392 Fix TwitterCard meta tags
TwitterCard meta tags are supposed to use the attributes "name" and "content".
OpenGraph tags use the attributes "property" and "content".

Twitter itself is smart enough to detect broken meta tags and discover the TwitterCard
using "property" and "content", but other platforms that only implement parsing of TwitterCards
and not OpenGraph may fail to correctly detect the tags as they're under the wrong attributes.

> "Open Graph protocol also specifies the use of property and content attributes for markup while
> Twitter cards use name and content. Twitter’s parser will fall back to using property and content,
> so there is no need to modify existing Open Graph protocol markup if it already exists." [0]

[0] https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
2022-12-19 17:23:12 -05:00
..
activity_pub AudioVideoValidator: Fix embedded attachment requirements 2022-12-15 18:06:28 -05:00
admin_api Fix report api 2022-11-20 00:35:52 -05:00
api_spec Uploading an avatar media exceeding max size returns a 413 2022-12-11 22:54:47 +01:00
auth Copyright bump for 2022 2022-02-25 23:11:42 -07:00
channels Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api Merge branch 'fix/federation-context-issues' into 'develop' 2022-09-04 18:43:36 +00:00
fallback Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator Copyright bump for 2022 2022-02-25 23:11:42 -07:00
feed Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
mailer Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mastodon_api Merge branch 'fix-2856' into 'develop' 2022-12-16 16:15:36 +00:00
media_proxy Fix Varnish 7 support by ensuring Media Preview Proxy fetches headers with a capitalized HEAD verb 2022-08-10 17:09:58 -04:00
metadata Fix TwitterCard meta tags 2022-12-19 17:23:12 -05:00
mongoose_im Copyright bump for 2022 2022-02-25 23:11:42 -07:00
nodeinfo Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth Merge branch 'release/2.4.4' into mergeback/2.4.4 2022-10-08 22:15:09 -04:00
o_status Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pleroma_api Merge branch 'develop' into 'from/upstream-develop/tusooa/2892-backup-scope' 2022-09-05 15:00:19 +00:00
plugs Update http_security_plug.ex 2022-11-17 12:03:01 -05:00
preload/providers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
push Push.Impl: support edits 2022-10-01 23:28:02 +02:00
rich_media Copyright bump for 2022 2022-02-25 23:11:42 -07:00
static_fe Document way to do notice compatibility routes with Nginx reverse-proxy instead 2022-07-16 23:44:37 -06:00
templates Update to Phoenix 1.6 and chase dependencies 2022-11-03 16:13:07 +00:00
twitter_api Make remote interaction page translatable 2022-08-20 21:14:26 -04:00
utils Copyright bump for 2022 2022-02-25 23:11:42 -07:00
views Send the correct update in streamer 2022-06-11 12:02:16 -04:00
web_finger Copyright bump for 2022 2022-02-25 23:11:42 -07:00
api_spec.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api.ex CommonAPI: generate ModerationLog for all admin/moderator deletes 2022-10-14 18:51:08 +02:00
controller_helper.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
embed_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
endpoint.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator.ex Alter priority of Delete activities to be lowest 2022-11-13 14:11:48 -05:00
gettext.ex Fix incorrect fallback when English is set to first language 2022-04-17 22:39:52 -04:00
instance_document.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
manifest_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
media_proxy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
metadata.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
preload.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
push.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rel_me.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
router.ex Merge branch 'remove_from_followers' into 'develop' 2022-09-16 23:24:13 +00:00
shout_channel.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
streamer.ex Merge branch 'release/2.4.4' into mergeback/2.4.4 2022-10-08 22:15:09 -04:00
translation_helpers.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploader_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger.ex rebase fix 2022-11-03 10:06:36 -04:00
xml.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00