Add HTML meta tag as alternative domain verification method#111
Draft
Copilot wants to merge 4 commits into
Draft
Add HTML meta tag as alternative domain verification method#111Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Default lazyLoading to true so directory page avatars don't all compete for bandwidth. Skip DiceBear generation when user has a custom image. Lower AVIF quality to 0.6 and cap output at 512px.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agent-Logs-Url: https://github.com/uoft-webring/webring/sessions/fd3b56d7-ca7a-4e3a-b773-2b187f33e7ae Co-authored-by: mh-anwar <71291954+mh-anwar@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add meta-tag verification for DNS alternative
Add HTML meta tag as alternative domain verification method
Apr 13, 2026
Add SSRF protection, 1MB response body cap, and deferred Supabase client creation. Remove dead _checkDomainRecordsImpl wrapper. Show verification records on the verify page even after domain is verified.
e6f3efa to
91225d3
Compare
d66d68a to
13db458
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Pages users cannot edit DNS records, making TXT-record verification impossible. This adds a meta tag verification path as a second option on
/dashboard/verify.Changes
app/dashboard/actions.ts— NewcheckMetaTagVerificationserver action:http/httpsbefore fetching (rejects invalid schemes)http/https<meta name="uoft-webring" content="<HMAC>">in any attribute order via two complementary regexesis_verified = trueon success, same as DNS pathapp/dashboard/verify/page.tsx— Restructured verify page:app/dashboard/verify/VerifyResult.tsx— Extended props to support reuse across both methods:buttonLabel?: string— defaults to"Verify now"failureMessage?: string— per-method error copyMeta tag format
Users add the following to the
<head>of their homepage:The
contentvalue is the same HMAC used for DNS TXT verification, keyed onring_id.