An additional character was introducted in the RFC 5322 atext fragment.
Spotted with r79924 which send the file as latin1 encoding.
if( !wfRunHooks( 'isValidEmailAddr', array( $addr, &$result ) ) ) {
return $result;
}
- $rfc5322_atext = "a-z0-9!#$%&'*+-\/=?^_`{|}—~" ;
+ $rfc5322_atext = "a-z0-9!#$%&'*+-\/=?^_`{|}~" ;
$rfc1034_ldh_str = "a-z0-9-" ;
$HTML5_email_regexp = "/
"|" / "}" /
"~"
*/
- var rfc5322_atext = "a-z0-9!#$%&'*+-/=?^_`{|}Ð~",
+ var rfc5322_atext = "a-z0-9!#$%&'*+-/=?^_`{|}~",
/**
* Next define the RFC 1034 'ldh-str'
mw.util.init();
-})(jQuery, mediaWiki);
\ No newline at end of file
+})(jQuery, mediaWiki);