Index: trunk/phase3/includes/User.php |
— | — | @@ -652,7 +652,7 @@ |
653 | 653 | if( !wfRunHooks( 'isValidEmailAddr', array( $addr, &$result ) ) ) { |
654 | 654 | return $result; |
655 | 655 | } |
656 | | - $rfc5322_atext = "a-z0-9!#$%&'*+-\/=?^_`{|}—~" ; |
| 656 | + $rfc5322_atext = "a-z0-9!#$%&'*+-\/=?^_`{|}~" ; |
657 | 657 | $rfc1034_ldh_str = "a-z0-9-" ; |
658 | 658 | |
659 | 659 | $HTML5_email_regexp = "/ |
Index: trunk/phase3/resources/mediawiki.util/mediawiki.util.js |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | "|" / "}" / |
457 | 457 | "~" |
458 | 458 | */ |
459 | | - var rfc5322_atext = "a-z0-9!#$%&'*+-/=?^_`{|}�~", |
| 459 | + var rfc5322_atext = "a-z0-9!#$%&'*+-/=?^_`{|}~", |
460 | 460 | |
461 | 461 | /** |
462 | 462 | * Next define the RFC 1034 'ldh-str' |
— | — | @@ -496,4 +496,4 @@ |
497 | 497 | |
498 | 498 | mw.util.init(); |
499 | 499 | |
500 | | -})(jQuery, mediaWiki); |
\ No newline at end of file |
| 500 | +})(jQuery, mediaWiki); |