No email syntax checking (Both Addressbook, and Message Window)

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
12 years ago
9 years ago

People

(Reporter: dcasey, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: closeme 2009-08-10)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Thunderbird version 1.5.0.4 (20060516)

Addressbook accepts invalid characters.  More importantly, when you recieve an email and it automatically adds it to your address book, it can create an addressbook entry with invalid characters.

Problem with automatically creating addresss book entries when recieving an email:
I'm not sure if the invalid chars are coming from thunderbird, or from the mail server (Communigate Pro).  But your end result is having single quotes around your email address.  When you try to send using this entry, TB attempts to send to "<'user@domain.com'>".  The server response with "User ''user@domain.com'' does not exist", or in Commugates case it responds with "Hostname unknown".

Manually creating entries:
TB does not appear to do any syntax checking.  It allowed me to successfully create two entries with the email addresses:
1.  test'user@domain.com
2.  dan@@work.

Reproducible: Always

Steps to Reproduce:
1. Go into the address book.
2. Click New Card
3. In the email address field you can type invalid characters such as a single quote.

Actual Results:  
TB allows you to save invalid email addesses in your addressbook.
TB attempts to send an email to invalid email addresses.

Expected Results:  
1. TB Should either through an warning, or strip out the single quotes when storing an invalid email address.
2. TB should through a warning before sending to an invalid email address, (just like it does if you leave the subject blank).

Error responses from the CommuniGate Pro server, when sending to <'user@domain.com'>.

Failed to deliver to ''user@domain.com''
SMTP module(domain domain.com') reports:
 host name is unknown

Note: While this error is server specific, it is just to show that errors can be misleading.  I would say that this error is more of an annoyance on the server, but TB shouldn't have sent to a bad address it in the first place.
Assignee: mscott → nobody

Comment 1

10 years ago
Reporter, Can you confirm whether this problem is gone, or still exists on a current version of thunderbird?  

We are working to help old bugs move along, so your comment will be helpful.
Whiteboard: revisit 2008-12-18

Comment 2

10 years ago
steve do you know about such things?
Whiteboard: revisit 2008-12-18
WFM here using

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1pre) Gecko/20090711 Lightning/1.0pre Shredder/3.0b3pre ID:20090711031603

Both suggestions are implemented.

Updated

9 years ago
Whiteboard: closeme-2009-08-10

Updated

9 years ago
Whiteboard: closeme-2009-08-10 → closeme 2009-08-10
WFM also here on 

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3pre) Gecko/20090810 Lightning/1.0pre Shredder/3.0b4pre ID:20090810161308

Feel free to reopen it if I'm wrong.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.