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 496390 - email header was not decoded right in some mails
email header was not decoded right in some mails
Status: RESOLVED NOTABUG
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 501151 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-13 09:54 UTC by Akhil Laddha
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Mbox file which causes problem (4.11 KB, application/octet-stream)
2007-11-13 09:55 UTC, Akhil Laddha
Details

Description Akhil Laddha 2007-11-13 09:54:50 UTC
https://bugzilla.novell.com/show_bug.cgi?id=338747

The subject was not decoded right in Evolution. I pasted the subject text here.

Subject:=?UTF-8?Q?=20File=20=E2=80=9CFolder=2DTree=2D?=
       
=?UTF-8?Q?Expand=2DState?=.=?UTF-8?Q?Xml=E2=80=9D=20Holds=20Proxied=20?=
        =?UTF-8?Q?Folder=20As=20Last=20Folder?=


Could be gtkhtml rendering issue.
Comment 1 Akhil Laddha 2007-11-13 09:55:40 UTC
Created attachment 99012 [details]
Mbox file which causes problem
Comment 2 André Klapper 2007-11-13 11:26:27 UTC
Yeah, because the subject string is not RFC2047-compliant. not a bug at all.
Comment 3 David Liang 2007-11-14 03:53:43 UTC
Yes, it is not RFC2047-compliant. Also there is an instruction on these kind of problems, see the following words:
   
   http://www.faqs.org/rfcs/rfc2047.html
    6.3 
    A mail reader need not attempt to display the text associated with an
    'encoded-word' that is incorrectly formed.  However, a mail reader
     MUST NOT prevent the display or handling of a message because an
    'encoded-word' is incorrectly formed.

But the fact is some mail servers or mail clients do not strictly following the RFC, especially in this bug. I know it is not the fault of Evolution, but isn't it better to encode such mis-decoded strings?

Maybe we can take this as an usability problem.
Comment 4 André Klapper 2007-11-14 09:55:50 UTC
(In reply to comment #3)
> but isn't it better to encode such mis-decoded strings?

if you tell me about the algorithm who can guess how to decode such malformed strings... ;-)
Comment 5 Jeffrey Stedfast 2007-11-14 17:01:04 UTC
the problem is that no matter how hard you try, you'll never be able to handle all forms of brokenness otu there that some mail client or another might send. It gets even harder when you have to make sure that you correctly handle valid encodings.
Comment 6 André Klapper 2007-12-03 13:11:56 UTC
*** Bug 501151 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2007-12-06 20:11:26 UTC
*** Bug 502178 has been marked as a duplicate of this bug. ***