Closed Bug 474136 Opened 17 years ago Closed 2 years ago

from header line - no quoting if required by a colon within display name

Categories

(Thunderbird :: Message Compose Window, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: email, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 Build Identifier: all versions I know header part of received email - - - From: "name :: company" <name@domain> - - - # the double colon is used as an 'elaborate' spacer in perception of the 'creative' sender header part of email in reply to (created with Thunderbird) - - - To: name :: company <name@domain> - - - # bug! -- missing quotes arround display name mail server log entry - - - qmail-inject:_fatal:_unable_to_parse_this_line:/To:_name_::_company_<name@domain>/system_error/ - - - Reproducible: Always Steps to Reproduce: reply to an email with a header part of --- From: "name :: company" <name@domain> --- Actual Results: some MTAs do not like header parts of the form - - - To: name :: company <name@domain> - - - # with no quotes arround the display name containing one or more colons Expected Results: the result of the encoding should be - - - To: "name :: company" <name@domain> - - - this bug appeares since I know Thunderbird (respectively Netscape Messenger ;-)
what do you see when using the beta? (I think I don't see what you describe) http://www.mozillamessaging.com/en-US/thunderbird/early_releases/
Component: General → Message Compose Window
QA Contact: general → message-compose
(In reply to comment #1) > what do you see when using the beta? (I think I don't see what you describe) > http://www.mozillamessaging.com/en-US/thunderbird/early_releases/ Reporter, any response to comment #1?
Whiteboard: closeme 2009-09-17
Problem still occurs with next build. > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090906 Shredder/3.0b4pre Compose a mail, type 'a : b <a@b.c.d>' (no quote) in To: field, Send Later. => To: a : b <a@b.c> Tb looks to consider ":" valid atext character wrongly. It's RFC violation of Tb. Tb possibly confuses 'a : b <a@b.c>' (no quote) with group in mail composition UI. > group = display-name ":" [mailbox-list / CFWS] ";" > [CFWS] RFC 2822 defines name-addr as follows. > name-addr = [display-name] angle-addr > display-name = phrase > phrase = 1*word / obs-phrase > word = atom / quoted-string And characters usable in atom is defined at 3.2.4. > http://tools.ietf.org/html/rfc2822#section-3.2.4 > 3.2.4. Atom > atext = ALPHA / DIGIT / ; Any character except controls, > "!" / "#" / ; SP, and specials. > "$" / "%" / ; Used for atoms > "&" / "'" / > "*" / "+" / > "-" / "/" / > "=" / "?" / > "^" / "_" / > "`" / "{" / > "|" / "}" / > "~"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: closeme 2009-09-17
Problem still occurs when the name contains accents: >User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 i.e., if I write in the "Your name" Field: > Miguel Angel Rico :: Company The resulting header field: > From: "Miguel Angel Rico :: SERVIHOGAR" <user@company.com> But if specials characters are used: > Miguel Ángel Rico : Company The resulting header field: > From: =?UTF-8?Q?Miguel_=c3=81ngel_Rico_: _Company?= > <user@company.com>; Some mail/webmail clients doesn't recognise the from field containing a colon character without quotes, so they can't show the sender or even answer the e-mail.

(In reply to email from comment #0)

header part of received email
From: "name :: company" <name@domain>

header part of email in reply to (created with Thunderbird)
To: name :: company <name@domain>

bug! -- missing quotes arround display name

(In reply to WADA:World Anti-bad-Duping Agency from comment #3)

Compose a mail, type 'a : b <a@b.c.d>' (no quote) in To: field, Send Later.
=> To: a : b <a@b.c>

I have tested both cases with the current TB128.1.1esr, and both times the header contained the necessary quotation marks.

I therefore think the bug has probably been fixed in the meantime.

Or is someone still affected by the bug?

Whiteboard: [closeme 2024-09-30]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
Whiteboard: [closeme 2024-09-30]
You need to log in before you can comment on or make changes to this bug.