Skip to content

feat: validate comment email domains with MX records - #30

Open
stevenjoezhang wants to merge 1 commit into
anghunk:mainfrom
stevenjoezhang:validate-email-mx
Open

stevenjoezhang wants to merge 1 commit into
anghunk:mainfrom
stevenjoezhang:validate-email-mx

Conversation

@stevenjoezhang

Copy link
Copy Markdown
Contributor

I noticed that a user had entered qq.co instead of qq.com in their email address, preventing them from receiving reply notifications. This PR adds an MX record check when submitting comments to catch mistakes like this earlier. Domains without a usable MX record are rejected with a validation error, while DNS failures or timeouts do not block submission.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant