[rt-users] Bug about subject in utf-8

Albert Shih Albert.Shih at obspm.fr
Wed Aug 31 17:12:28 EDT 2016


Hi everyone.

I find a very weird bug about the encoding/decoding problem with a subject
in utf-8 encode.

If a requestor send a email with a subject encode in utf-8 like

  Bonjour =?utf-8?q?=C3=A0?= vous

RT will create a ticket with subject like (encoded)

  =?UTF-8?B?WyBSVFRBRyAjTlVNQkVSIF0gQm9uam91ciDDoCB2b3Vz=?=

meanning something like

  [ RTTAG #NUMBER ] Bonjour à vous

So until known everything is correct. The problem is when the person who
answer this ticket encode the subject like this

  =?utf-8?q?Re=3A?==?utf-8?q?_=5BRTTAG =?utf-8?q? #NUMBER=5D?= Bonjour =?utf-8?q?=C3=A0?= vous

because in that case RT drop the space between the RTTAG and the #NUMBER.
So the incomming mail (to RT) got the space, the outgoing mail drop the
space so RT think it's a new ticket and add a new set of [ RTTAG #NUMBER ]

I use RT 4.2.13 on FreeBSD 10 with all package up2date.

Anyone see a solution (beside to change the $ExtractSubjectTagMatch and
$ExtractSubjectTagNoMatch)

Regards.

JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: jas at obspm.fr
Heure local/Local time:
mer 31 aoû 2016 22:49:09 CEST



More information about the rt-users mailing list