Skip to content

[5.8] Fixed email validator for empty domain part #28987

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

Closed
wants to merge 1 commit into from
Closed

[5.8] Fixed email validator for empty domain part #28987

wants to merge 1 commit into from

Conversation

SPie
Copy link
Contributor

@SPie SPie commented Jun 28, 2019

The email validator introduced in 5.8 allowed spaces in the domain part as mentioned in #28233 .
This got fixed in the current release so I set the minimum required version for this dependency to this release.

$this->assertFalse($validator->passes());

$validator = new Validator($this->getIlluminateArrayTranslator(), ['email' => 'foo@'], ['email' => 'email']);
$this->assertFalse($validator->passes());
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicated test.

@taylorotwell
Copy link
Member

The current version constraint will already pull in this version.

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.

3 participants