Skip to content

Commit

Permalink
Update link
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Aug 5, 2020
1 parent 82f1d17 commit e8a7364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ public static function validateAddress($address, $patternselect = null)
/*
* This is the pattern used in the HTML5 spec for validation of 'email' type form input elements.
*
* @see http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
* @see https://html.spec.whatwg.org/#e-mail-state-(type=email)
*/
return (bool) preg_match(
'/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' .
Expand Down

0 comments on commit e8a7364

Please sign in to comment.