After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547969 - Handles e-mail addresses with multiple consequtive dots improperly
Handles e-mail addresses with multiple consequtive dots improperly
Status: RESOLVED DUPLICATE of bug 347520
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-08-15 22:55 UTC by vincent.lonngren.759
Modified: 2008-09-20 15:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description vincent.lonngren.759 2008-08-15 22:55:10 UTC
Please describe the problem:


I'm visiting Japan, and apparently some people here have addresses to there cell phones that look like this:

something-..-something.something@something.something.jp

The two consecutive dots confuse Evolution, so it sees it like this: something-.. <-something.something@something.something.jp>. Hence using the reply button won't work when the senders address looks like that, and it will go wrong in all kinds of places.

Steps to reproduce:
1. Receive an e-mail with a "From:" adress that contains multiple consequtive dots. It probably happens with other fields as well.
2. Try to reply to it or do something else that requires the "From:" field to be parsed.


Actual results:
The address will be wrong.

Expected results:
The correct address should be used.

Does this happen every time?
Yes.

Other information:
This is Ubuntu Launchpad bug # 258139.
Comment 1 Jeffrey Stedfast 2008-08-16 00:30:59 UTC
that's not actually a valid email address according to the spec.

anyone with x..y@somewhere.com as an email address is asking for problems

     addr-spec   =  local-part "@" domain        ; global address
     local-part  =  word *("." word)             ; uninterpreted
                                                 ; case-preserved
     word        =  atom / quoted-string
     atom        =  1*<any CHAR except specials, SPACE and CTLs>


that means there has to be 1-or-more CHARs between each '.' to be valid
Comment 2 vincent.lonngren.759 2008-08-16 13:39:32 UTC
I agree, it is insane. Yet, people actually have these addresses, a company called DoCoMo, and perhaps other companies as well, are happily handing them out. It seems SMTP servers are able to handle them, too. So I guess it is a matter of philosophy if Evolution should refuse to parse them because they are not valid, or parse them because they exist. I have no opinion either way, I just wanted to bring it to the developers' attention.
Comment 3 Jeffrey Stedfast 2008-08-16 14:43:29 UTC
odds are that if the addresses aren't valid, there is only a subset of SMTP servers that will actually accept them.

anyways, I'm not saying "no" to adding support for this - I'm not sure how difficult it would be.
Comment 4 Jeffrey Stedfast 2008-09-20 15:05:31 UTC
*** Bug 553004 has been marked as a duplicate of this bug. ***
Comment 5 Jeffrey Stedfast 2008-09-20 15:09:37 UTC

*** This bug has been marked as a duplicate of 347520 ***