[Vtigercrm-developers] Unnecessary htmlentities encoding in the vtiger 6 email from-name

Holbok István holbok at gmail.com
Mon Apr 14 11:17:06 GMT 2014


Hello vtiger Team,

There is an unnecessary htmlentities encoding in the vtiger 6 email 
from-name.

The issue can be easy to reproduce.
Please use the vtiger 6 user's Firstname or Lastname field some of the 
Central European characters e.g. öüóőúéáűí ÖÜÓŐÚÉÁŰÍ

The result will be the next:


The arriving email header is the following:

 From - Mon Apr 14 12:58:48 2014
X-Account-Key: account1
X-UIDL: GmailId1455fe34fa8d38ce
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: hxxxxxxxk at gmail.com
Received: by 10.229.165.203 with SMTP id j11csp113984qcy;
         Mon, 14 Apr 2014 03:58:24 -0700 (PDT)
Date: Mon, 14 Apr 2014 10:58:22 +0000
To: hxxxxxxxxxk at gmail.com
*From: =?UTF-8?Q?=26ouml=3B=26uuml=3B=26oacute=3B=C5=91=26uacute=3B=26eacute=3B?=
  =?UTF-8?Q?=26aacute=3B=C5=B1=26iacute=3B_Administrator_=26Ouml=3B=26Uuml?=
  =?UTF-8?Q?=3B=26Oacute=3B=C5=90=26Uacute=3B=26Eacute=3B=26Aacute=3B?=
  =?UTF-8?Q?=C5=B0=26Iacute=3B?= <axxxxx at xxxxxxx.hu>*
Reply-To: xxxxxx at xxxxxx.hu
Subject: =?UTF-8?B?Mi4gw4lrZXpldCB0ZXN6dDogw7bDvMOzxZHDusOpw6HFscOtIMOWw5zDkw==?=
  =?UTF-8?B?xZDDmsOJw4HFsMON?=
Message-ID: <fbc6a5acc86da7ea7ffb6b88862eea22 at xxxxxxxxx.hu>
X-Priority: 3
X-Mailer: PHPMailer 5.2.6 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - xxxxxxx.eu
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - aryan.hu
X-Get-Message-Sender-Via: xxxxxxx.eu: authenticated_id: xxxxx at xxxxx.hu

<img src='http://cf.aryan.hu//modules/Emails/actions/TrackAccess.php?record=4866&parentId=4861&applicationKey=10b0a78393cc7a398cbbf6f59d731e51' alt='' width='1' height='1'>
		<p>
			Ide is beteszünk egy ékezet tesztet:</p>
		<p>
			öüóőúéáűí ÖÜÓŐÚÉÁŰÍ</p>
		<p>
			Üdv: István</p>
	

----------------------------------
As you see the UTF-8 encoding is automatic if the from-name contains any 
of characters to encode.
But if the from-name is already encoded to HTML entities the double 
coding will result he pictures shown above.

Unfortunately this wrong encoded from-name will put the email to the 
spam box.

-- 
Regards:

*Holbok István*

+3670-342-0900
*e-mail:* holbok at gmail.com
*SkyPe:* holboki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140414/7c47006f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtiger-01.png
Type: image/png
Size: 41785 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140414/7c47006f/attachment-0001.png>


More information about the vtigercrm-developers mailing list