Meta tags:
description= The reason why these domains are checked is for deliverability reasons. They are not forbidden from being used in (for example local) email addresses, and do not syntactically invalidate the address. I.e. as far as I can tell, simply thi...;
Headings (most frequently used words):
commented, on, dec, 2023, joshdata, 14, navigation, 13, immanuel, metadata, footer, validate_email, should, not, check, special, use, domains, if, check_deliverability, is, set, to, false, 122, menu, repository, description, activity, issue, actions, assignees, labels, projects, milestone, relationships, development,
Text of the page (most frequently used words):
the (22), dec (15), 2023 (15), github (14), and (13), actions (11), you (10), not (10), for (10), joshdata (10), special (10), use (10), more (9), #domains (9), that (7), commented (7), immanuel (7), this (6), should (6), can (5), security (5), copilot (5), issue (5), sign (5), what (5), your (5), local (5), check (5), code (5), projects (4), owner (4), deliverability (4), email (4), all (4), false (4), are (4), support (4), navigation (3), open (3), labels (3), have (3), work (3), why (3), checking (3), global (3), author (3), case (3), copy (3), link (3), 122 (3), validate_email (3), check_deliverability (3), set (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), time (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), one (2), metadata (2), contentious (2), just (2), want (2), library (2), readme (2), don (2), see (2), domain (2), only (2), option (2), switched (2), syntactically (2), addresses (2), could (2), they (2), special_use_domain_names (2), saying (2), but (2), problem (2), general (2), think (2), options (2), globally_deliverable (2), really (2), address (2), reason (2), checked (2), far (2), tell (2), toggle (2), from (2), main (2), safe (2), new (2), insights (2), repository (2), python (2), validator (2), signed (2), with (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, app, branches, none, yet, relationships, assigned, assignees, comment, already, account, join, conversation, free, different, design, than, documented, thanks, input, consider, when, project, must, say, such, topic, makes, sense, context, off, validated, sure, everyone, who, wants, validate, normalize, properties, validation, method, claim, call, then, clear, specific, test, applies, handling, class, tests, allow, through, combination, calling, setting, well, designed, did, understand, right, remove, eyes, while, does, ensure, there, flag, actually, those, documents, changed, caller, removing, list, runtime, would, goal, give, good, maximally, defaults, allowing, default, doesn, seem, like, choice, globally, deliverable, undocumented, hack, last, resort, activity, these, reasons, forbidden, being, used, example, invalidate, simply, part, body, opened, description, items, wiki, issues, message, dismiss, alert, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, evaluate, 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, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
validate_email should not check special use domains if check_deliverability is set to false issue 122 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 validate_email should not check special use domains if check_deliverability is set to false 122 new issue copy link new issue copy link open open validate_email should not check special use domains if check_deliverability is set to false 122 copy link description immanuel h opened on dec 11 2023 issue body actions the reason why these domains are checked is for deliverability reasons they are not forbidden from being used in for example local email addresses and do not syntactically invalidate the address i e as far as i can tell simply this check should be part of the if globally_deliverable check activity joshdata commented on dec 13 2023 joshdata on dec 13 2023 owner more actions the readme documents that this can be changed by the caller by removing local from the special use domains list at runtime would that work my main goal is to give good maximally safe defaults for the main use case allowing local by default doesn t seem like a safe choice and the globally deliverable option is really an undocumented hack of last resort immanuel h commented on dec 13 2023 immanuel h on dec 13 2023 author more actions not really in my eyes while it is my special use case it does not address the problem in general the only reason special domains are checked as far as i can tell is to ensure global deliverability so if there is a flag to toggle global deliverability checking it should actually toggle checking of those special use domains joshdata commented on dec 13 2023 joshdata on dec 13 2023 owner more actions i think what you re saying is that the library s options allow you to do what you want through a combination of calling special_use_domain_names remove local and setting globally_deliverable to false but you don t think the options are well designed did i understand right immanuel h commented on dec 14 2023 immanuel h on dec 14 2023 author more actions i am saying that my specific test case is a local domain but that the problem applies to the general handling of all special use domains as a class of tests joshdata commented on dec 14 2023 joshdata on dec 14 2023 owner more actions so you can call special_use_domain_names clear then immanuel h commented on dec 14 2023 immanuel h on dec 14 2023 author more actions sure everyone who just wants to syntactically validate and normalize email addresses could do that or the properties of the validation method could do what they claim to do i must say i don t see why this is such a contentious topic special use domain checking only makes sense in the context of global deliverability so if the option is switched off special use domains should not be validated joshdata commented on dec 14 2023 joshdata on dec 14 2023 owner more actions it s not contentious you just want the library to have a different design than what s documented in the readme thanks for your input i ll consider it when i have time to work more on this project sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels no labels no labels projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app 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
|