Project

General

Profile

Actions

Bug #4592

open

The Bat email client shows corrupted subject of a message sent by Wt::Mail::Client

Added by Alan Finley about 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/26/2015
Due date:
% Done:

0%

Estimated time:

Description

I'm using Wt::Mail::Client for sending emails which contain text and subject in Russian.

I've noticed that The Bat email client shows corrupted subject for such emails.

The original subject is:

Приглашение получить доступ

The encoded subject:

Subject: =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B3=D0=BB=D0=B0=D1=88=D0=B5=D0=BD=D0=B8=D0?=
 =?UTF-8?q?=B5_=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B8=D1=82=D1=8C_=D0=B4=D0?=
 =?UTF-8?q?=BE=D1=81=D1=82=D1=83=D0=BF?=

What I see in The Bat:

Приглашени?? получить д??ступ

A message body is displayed correctly.

Also I don't have any problems with message subjects when I use Thunderbird email client or Gmail or Roundcube.

Actions #1

Updated by Alan Finley about 9 years ago

This seems to be a bug in earlier versions of The Bat.

It does not properly handle folded headers like this:

Subject: =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B3=D0=BB=D0=B0=D1=88=D0=B5=D0=BD=D0=B8=D0?=
 =?UTF-8?q?=B5_=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B8=D1=82=D1=8C_=D0=B4=D0?=
 =?UTF-8?q?=BE=D1=81=D1=82=D1=83=D0=BF?=

Newer versions of The Bat work fine.

It's interesting that I couldn't find any email in my inbox which is sent by a client that honours the strict limit of 78 symbols described in the RFC[1]. They just write all long headers in a single string.

[1] http://tools.ietf.org/html/rfc5322#section-2.1.1

Actions #2

Updated by Koen Deforche almost 9 years ago

Arghl. Nobody cares about RFC's anymore! It would be great if we can find a reference that confirms that we can actually put it on a single line...

Actions

Also available in: Atom PDF