Setup
- MediaWiki 1.35.11 (a6b4976) 09:18, 14. Aug. 2023
- PHP 7.4.3-4ubuntu2.19 (apache2handler)
- MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
- pear/console_getopt 1.4.3
- pear/mail 1.4.1
- pear/mail_mime 1.10.11
- pear/net_smtp 1.9.1
- pear/net_socket 1.2.2
- pear/pear-core-minimal 1.10.13
- pear/pear_exception 1.0.2
Config
$wgSMTP = [ 'host' => 'mail.your-server.de', 'IDHost' => 'wiki.example.org', 'port' => 587, 'username' => 'noreply@example.org', 'password' => 'K-Ujp2fqzwmdv7m25aANW9xerjbDxp-J', 'auth' => true ];
Issue
Email confirmation emails are not sent to users if their user name contains a multibyte character.
Reproduce failiure
Create an account called "A.Wöhl" and try to verify the email address. On the first click of the verification button, MediaWiki informs that the verification email was sent. Since you will not receive an email due to the issue, you click the verification button a second time, an error message appears together with details: Validation failed for: =?UTF-8?Q?A.W=C§=B6hl?=<antonwoehl@gmx.de>
Reproduce success
Create an account called "A.Woehl" and try to verify the very same email address. On the first click of the verification button, the email gets sent, and confirmation is possible.
Mowing "A.Wöhl" to "A.Woehl" allows the user to confirm the email address, which failed with the previous user name containing the multibyte character.