Closed Bug 1666126 Opened 4 years ago Closed 3 years ago

Non-address sequences of text pillified by typing a comma

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: eyalroz1, Unassigned)

References

Details

With TB 78, if I type in "hello some@where.com", then type a comma (",") - the whole string is pillified as though it was an actual single email address, which it isn't.

When you then send the message, Thunderbird attempts to send it to an address where the local part has a space in it (which is an invalid address IIRC).

Regressed by: tb-pills

Thunderbird 68 seems the same (minus pills of course). Garbage in garbage out.

No longer regressed by: tb-pills
See Also: → tb-pills

Hi Eyal, spaces in the local parts of email addresses are actually valid if the whole localpart is quoted [1].
So Thunderbird is trying to be smart and helpful by adding those quotes for you before sending if the address would otherwise be invalid - it's a feature! So as a defect, this is invalid. I'm not sure what a better behaviour should look like (which would need a new RFE anyway, with STR, actual & expected result), but I doubt we'd change this.

[1] https://en.wikipedia.org/wiki/Email_address#Local-part

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.