Skip to content

Did'ja mean gmail.com? - #314

Open
24c02 wants to merge 3 commits into
mainfrom
didja-mean-gmail
Open

Did'ja mean gmail.com?#314
24c02 wants to merge 3 commits into
mainfrom
didja-mean-gmail

Conversation

@24c02

@24c02 24c02 commented Aug 25, 2026

Copy link
Copy Markdown
Member

i get a lot of emails, like a LOT a lot of emails to the effect of:
"HEY! it's rejecting my domain as throwaway, i am doing NO SUCH THING! your system is BROKEN, FIX IT."

and then i go and look and the user typed "gnail.com" or "gamil.com" or something like that.

so....rather than replying "you might have typed your email wrong, please double-check carefully!" 40 more times, we can let the computer do it for us!

did you mean gmail?

thank you damerau and levenshtein!!

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgem/​damerau-levenshtein@​1.3.310010010075100

View full report

<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125" />
</svg>
<span><%= t(".email_typo", suggested: @identity.suggested_email).html_safe %></span>
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.

2 participants