Meta tags:
description= A robust email syntax and deliverability validation library for Python. - Reject non-canonical Punycode A-labels in validate_email_domain_name by Keerthana-64 · Pull Request #196 · JoshData/python-email-validator;
Headings (most frequently used words):
64, uh, oh, labels, navigation, reject, non, canonical, punycode, in, validate_email_domain_name, to, python, email, validator, keerthana, idna, fake, footer, commented, nov, 15, 2026, 196, menu, repository, 196keerthana, wants, merge, commit, intojoshdata, mainjoshdata, mainfrom, alabelkeerthana, alabelcopy, head, branch, name, clipboard, conversation, joshdata, reviewers, assignees, projects, milestone, development, participants,
Text of the page (most frequently used words):
the (27), idna (22), and (21), this (15), with (15), github (13), that (12), applied (11), #labels (8), bbk (8), keerthana (8), suggestion (7), cannot (7), suggestions (7), while (7), code (7), reload (7), joshdata (7), canonical (7), punycode (7), label (7), python (7), from (6), for (6), copy (6), validate_email_domain_name (6), com (6), normalized (6), fake (6), email (6), validator (6), you (5), security (5), please (5), pull (5), one (5), sign (5), all (5), domain (5), but (5), reject (5), main (5), can (4), 2026 (4), request (4), commit (4), there (4), was (4), error (4), loading (4), page (4), unicode (4), ascii_email (4), non (4), name (4), alabel (4), 196 (4), your (4), support (4), copilot (4), navigation (3), merge (3), line (3), add (3), batch (3), only (3), these (3), projects (3), conversation (3), hidden (3), characters (3), open (3), learn (3), decode (3), checks (3), encode (3), which (3), rfc (3), same (3), address (3), different (3), ascii_domain (3), form (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), not (2), community (2), status (2), footer (2), check (2), reviews (2), valid (2), single (2), changes (2), invalid (2), because (2), may (2), issues (2), development (2), milestone (2), none (2), yet (2), already (2), file (2), bidirectional (2), than (2), what (2), review (2), more (2), about (2), sorry (2), something (2), went (2), wrong (2), reactions (2), markdown (2), link (2), commented (2), nov (2), doesn (2), raise (2), before (2), still (2), allows (2), ulabel (2), 5891 (2), encoded (2), result (2), whose (2), dns (2), addresses (2), rejects (2), every (2), message (2), changed (2), work (2), passes (2), wants (2), into (2), head (2), branch (2), clipboard (2), insights (2), actions (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, right, now, back, later, queued, multi, comments, pending, has, been, marked, resolved, outdated, must, change, existing, order, create, applying, deleted, lines, supported, per, viewing, subset, closed, were, made, participants, successfully, merging, close, assigned, assignees, reviewers, have, account, comment, join, free, show, contains, text, interpreted, compiled, differently, appears, below, editor, reveals, starting, seem, little, pedantic, owner, encodes, got, accepted, aren, their, validated, holding, when, differs, 81872cb, runs, ascii, through, then, never, compares, didn, require, its, 5890, like, leading, hyphen, empty, delimiter, codec, skips, decodes, 307e, validate_email, check_deliverability, looks, rather, readme, describes, recommends, storing, two, names, end, database, key, comparing, version, gives, over, 867, generated, domains, uppercase, nothing, exactly, 476, wasn, became, after, matches, raising, minimum, would, also, release, august, keeps, older, installs, covered, test_email_fake_a_label, fails, here, either, way, flake8, mypy, suite, pass, contributor, files, commits, items, wiki, requests, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, collaboration, platform, menu, skip, content,
Text of the page (random words):
reject non canonical punycode a labels in validate_email_domain_name by keerthana 64 pull request 196 joshdata python email validator github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message joshdata python email validator repository navigation code issues 12 12 pull requests 5 5 actions projects wiki security and quality insights more items reject non canonical punycode a labels in validate_email_domain_name 196 196 open keerthana 64 wants to merge 1 commit into joshdata main joshdata python email validator main from keerthana 64 idna fake alabel keerthana 64 python email validator idna fake alabel copy head branch name to clipboard conversation commits 1 1 checks files changed open reject non canonical punycode a labels in validate_email_domain_name 196 keerthana 64 wants to merge 1 commit into joshdata main joshdata python email validator main from keerthana 64 idna fake alabel keerthana 64 python email validator idna fake alabel copy head branch name to clipboard conversation keerthana 64 commented nov 15 2026 copy link copy markdown contributor validate_email_domain_name runs an ascii domain with xn labels through idna decode and then idna encode but only checks that the encode doesn t raise and never compares the result with ascii_domain before idna 3 19 which idna 2 0 0 still allows idna ulabel didn t require an a label to be the canonical punycode of its u label rfc 5891 5 4 so a fake a label rfc 5890 2 3 2 1 like xn bbk whose leading hyphen is an empty delimiter that python s punycode codec skips decodes to the same label u 307e as xn bbk with idna 3 18 3 10 or 2 10 validate_email me xn bbk com is valid with the same normalized address as me xn bbk com but with ascii_email me xn bbk com a different dns name and check_deliverability looks up that name rather than the one in normalized the readme describes ascii_email as the idna form of normalized and recommends storing normalized so two addresses on different dns names end up as one database key comparing the re encoded domain with ascii_domain rejects these on every idna version with a message that gives the canonical form over 58 867 generated domains unicode a label uppercase and fake a label labels nothing changed with idna 3 20 and with 3 18 and 3 10 exactly the 476 addresses whose ascii_email wasn t the idna form of normalized became invalid after which every result matches idna 3 20 raising the minimum idna to 3 19 would also work but that release is from august 2026 and this check keeps older installs covered test_email_fake_a_label fails on main with idna 3 18 3 10 and 2 10 and passes here with 3 19 it passes either way because idna decode already rejects these flake8 mypy and the suite pass on 3 11 and 3 13 sorry something went wrong uh oh there was an error while loading please reload this page all reactions reject non canonical punycode a labels in validate_email_domain_name 81872cb validate_email_domain_name re encodes the domain it got from idna decode but only checks that idna encode doesn t raise before idna 3 19 which idna 2 0 0 still allows ulabel accepted a labels that aren t the canonical punycode of their u label rfc 5891 5 4 so me xn bbk com validated with the same normalized address as me xn bbk com but with ascii_email holding the different domain xn bbk com reject the address when the re encoded domain differs from ascii_domain joshdata commented nov 15 2026 copy link copy markdown owner this is starting to seem a little pedantic all reactions sorry something went wrong uh oh there was an error while loading please reload this page 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 show hidden characters sign up for free to join this conversation on github already have an account sign in to comment reviewers no reviews uh oh there was an error while loading please reload this page assignees no one assigned labels none yet projects none yet milestone no milestone development successfully merging this pull request may close these issues uh oh there was an error while loading please reload this page 2 participants 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 footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|