Page MenuHomePhabricator

comma in username causes incorrect email headers
Closed, ResolvedPublic

Description

If an email is sent from an account with a comma in the username, the "From" email header is malformed. It appears as:

From: <part of name before the comma>@localhost.localdomain, <part of name after the comma> <correct email>

So if a username is: "Foo, Bar" with email address foo@bar.com it would be sent as from:

Foo@localhost.localdomain, Bar <foo@bar.com>


Version: unspecified
Severity: normal

Details

Reference
bz12327

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport added a project: MediaWiki-Email.
bzimport set Reference to bz12327.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in r30045; names with spaces now get quoted.