You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-07-12 12:32:48

kpcomp
Member
Registered: 2008-07-12
Posts: 57

glpi 0.71 final - Mail followup did not work with UTF8 encoded subject

Hello, I found that adding followup from mail reply did not work with encoded subject.

Work:
Subject: [GLPI #0000274] Root entity | New ticket's follow-up - test ejkh

Did not work:
Subject: =?utf-8?Q?[GLPI_#0000272]_Root_entity_|_New_ticket_-_test2_=C4=9B=C5=A1?=  =?utf-8?Q?=C4=8D?=

Currently I set a hotfix for our instalation by modify line 323 of inc\mailgate.class.php from
if ( preg_match('/\[GLPI #(\d+)\]/',$head['subject'],$match) ) {
to
if ( preg_match('/\[GLPI #(\d+)\]/',$this->decodeMimeString($head['subject']),$match) ) {

Now this one problem with mail followup seems solved. Suggestions for further upgrades?

Pavel Kloud
KP Comp s.r.o.

Offline

#2 2008-07-12 13:15:31

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: glpi 0.71 final - Mail followup did not work with UTF8 encoded subject

corrected. thanks
Will be available in future patch or 0.71.1

https://dev.indepnet.net/glpi/changeset/7062


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB