Subject: CVS commit: pkgsrc/mail/py-email_validator
From: Adam Ciarcinski
Date: 2024-07-02 11:17:12
Message id: 20240702091712.1A23DFC74@cvs.NetBSD.org

Log Message:
py-email_validator: updated to 2.2.0

2.2.0 (June 20, 2024)

Email addresses with internationalized local parts could, with rare Unicode \ 
characters, be returned as valid but actually be invalid in their normalized \ 
form (returned in the normalized field). In particular, it is possible to get a \ 
normalized address with a ";" character, which is not valid and could \ 
change the interpretation of the address. Local parts now re-validated after \ 
Unicode NFC normalization to ensure that invalid characters cannot be injected \ 
into the normalized address and that characters with length-increasing NFC \ 
normalizations cannot cause a local part to exceed the maximum length after \ 
normalization. Thanks to khanh@calif.io from https://calif.io for reporting the \ 
issue.
The length check for email addresses with internationalized local parts is now \ 
also applied to the original address string prior to Unicode NFC normalization, \ 
which may be longer and could exceed the maximum email address length, to \ 
protect callers who do not use the returned normalized address.
Improved error message for IDNA domains that are too long or have invalid \ 
characters after Unicode normalization.
A new option to parse My Name <address@domain> strings, i.e. a display \ 
name plus an email address in angle brackets, is now available. It is off by \ 
default.
Improvements to Python typing.
Some additional tests added.

Files:
RevisionActionfile
1.13modifypkgsrc/mail/py-email_validator/Makefile
1.10modifypkgsrc/mail/py-email_validator/distinfo