[asterisk-bugs] [JIRA] (ASTERISK-20167) [patch] UTF-8 cyrillic characters in voicemail email subject cause subject corruption

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Jan 14 16:42:25 CST 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-20167:
-----------------------------------

    Description: 
This has been happening ever since 1.4.x.

In {{voicemail.conf}}:
{noformat}
emailsubject=[PBX]: Сообщение от ${VM_CALLERID} в ${VM_DATE}
{noformat}

The emails arrive with the following subject:

{noformat}
[PBX]: Сообще�в Monday, July 23, 2012 at 11:45:46 PM
{noformat}

The subject should appear as follows:

{noformat}
[PBX]: Сообщение от "anonymous" <anonymous> в Monday, July 23, 2012 at 11:45:46 PM
{noformat}

The raw subject header as it appears in the email message is:

{noformat}
Subject: =?UTF-8?Q?=5BPBX=5D=3A_=D0=A1=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0?=
 =?UTF-8?Q?=BD=D0=B8=D0=B5_=D0=BE=D1=82_=22anonymous=22_=3Canonymous=3E_?=
 =?UTF-8?Q?=D0=B2_Monday=2C_July_23=2C_2012_at_11=3A45=3A46_PM?=
{noformat}

  was:
This has been happening ever since 1.4.x.
========
In voicemail.conf:

emailsubject=[PBX]: Сообщение от ${VM_CALLERID} в ${VM_DATE}

========
The emails arrive with the following subject:

[PBX]: Сообще�в Monday, July 23, 2012 at 11:45:46 PM

========
The subject should appear as follows:

[PBX]: Сообщение от "anonymous" <anonymous> в Monday, July 23, 2012 at 11:45:46 PM

========
The raw subject header as it appears in the email message is:

Subject: =?UTF-8?Q?=5BPBX=5D=3A_=D0=A1=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0?=
 =?UTF-8?Q?=BD=D0=B8=D0=B5_=D0=BE=D1=82_=22anonymous=22_=3Canonymous=3E_?=
 =?UTF-8?Q?=D0=B2_Monday=2C_July_23=2C_2012_at_11=3A45=3A46_PM?=



> [patch] UTF-8 cyrillic characters in voicemail email subject cause subject corruption
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20167
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20167
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 1.8.8.2, 13.18.4
>         Environment: Linux myhost.mydomain 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:49:28 EDT 2012 i686 i686 i386 GNU/Linux
> Cent-OS 5.8
>            Reporter: Arcadiy Ivanov
>              Labels: patch
>         Attachments: issueA20167_break_early_for_q_encoding.patch
>
>
> This has been happening ever since 1.4.x.
> In {{voicemail.conf}}:
> {noformat}
> emailsubject=[PBX]: Сообщение от ${VM_CALLERID} в ${VM_DATE}
> {noformat}
> The emails arrive with the following subject:
> {noformat}
> [PBX]: Сообще�в Monday, July 23, 2012 at 11:45:46 PM
> {noformat}
> The subject should appear as follows:
> {noformat}
> [PBX]: Сообщение от "anonymous" <anonymous> в Monday, July 23, 2012 at 11:45:46 PM
> {noformat}
> The raw subject header as it appears in the email message is:
> {noformat}
> Subject: =?UTF-8?Q?=5BPBX=5D=3A_=D0=A1=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0?=
>  =?UTF-8?Q?=BD=D0=B8=D0=B5_=D0=BE=D1=82_=22anonymous=22_=3Canonymous=3E_?=
>  =?UTF-8?Q?=D0=B2_Monday=2C_July_23=2C_2012_at_11=3A45=3A46_PM?=
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list