Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses #2348

Closed
wants to merge 1 commit into from
Closed

Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses #2348

wants to merge 1 commit into from

Conversation

mxsasha
Copy link
Member

@mxsasha mxsasha commented Feb 22, 2014

No description provided.


literal_match = self.literal_regex.match(domain_part)
if literal_match:
ip_address = literal_match.groups()[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use literal_match.group(1) instead.

@bmispelon
Copy link
Member

Merged in 98f1376.

Thanks.

@bmispelon bmispelon closed this Feb 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants