Skip to content

Commit

Permalink
Merge pull request #5063 from bbashy/patch-1
Browse files Browse the repository at this point in the history
Display correct RFC number
  • Loading branch information
taylorotwell authored Mar 15, 2019
2 parents 81e0b64 + 51faa36 commit d6a34bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ The `getPresenceVerifierFor` method of the `Illuminate\Validation\Validator` cla

**Likelihood Of Impact: Very Low**

The email validation rule now checks if the email is [RFC5630](https://tools.ietf.org/html/rfc6530) compliant, making the validation logic consistent with the logic used by SwiftMailer. In Laravel `5.7`, the `email` rule only verified that the email was [RFC822](https://tools.ietf.org/html/rfc822) compliant.
The email validation rule now checks if the email is [RFC6530](https://tools.ietf.org/html/rfc6530) compliant, making the validation logic consistent with the logic used by SwiftMailer. In Laravel `5.7`, the `email` rule only verified that the email was [RFC822](https://tools.ietf.org/html/rfc822) compliant.

Therefore, when using Laravel 5.8, emails that were previously incorrectly considered invalid will now be considered valid (e.g `hej@bär.se`). Generally, this should be considered a bug fix; however, it is listed as a breaking change out of caution. [Please let us know if you encounter any issues surrounding this change](https://github.com/laravel/framework/pull/26503).

Expand Down

0 comments on commit d6a34bc

Please sign in to comment.