Profile: Mention 1MB response limit for verification (#1402)

Fixes #1401
This commit is contained in:
Cassidy James Blaede 2024-02-09 17:01:31 -07:00 committed by GitHub
parent 532bf4d9f0
commit c03c080288
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ Mastodon will then resolve the link and fetch the web page located there, lookin
- The resolved page must contain at least one `a` or `link` tag with a `rel="me"` attribute.
- The `href` attribute on one of those elements must be equal to the URL for your Mastodon profile.
- If no links with `rel="me"` are found, Mastodon will look for the *first* link, and the `href` value must redirect to your Mastodon profile's URL. (This provides limited support for web pages that use link shorteners and do not use rel-me.)
- The HTTP response must not exceed 1 MB.
**Any such link must not be within an `iframe`**. An `iframe` effectively means the link is no longer on the same web page, but rather it is on some external web page which is being embedded in the current one. (Note that some "block-based" CMS software may wrap block elements within iframes, which prevents verification for this reason.)