The processing of email::subject seems to be localized to file.cgi ca. 261
# override subject?
if vars.email_subject and !vars.email_subject.empty?
if vars.email_subject =~ /^re:\s/i
subject vars.email_subject
else
subject 'Re: ' + vars.email_subject
end
end
I can’t see where the actual problem is, but is there a way to either;
1. have whichever component created vars.email_subject recognize UTF-8
characters and pass them as characters instead of binary
2. recognize that this has happened here and replace the subject with an
innocuous subject based on the document type.
Craig
> On Aug 27, 2016, at 12:11 PM, Craig Russell <[email protected]> wrote:
>
> Here’s what happens to the em-dash in whimsy pending.yml:
>
> ---
> - doctype: icla
> source: craig-russell-copy.pdf
> realname: Craig Russell Emdash
> pubname: Craig Russell Emdash
> email: [email protected]
> filename: craig-russell-emdash.pdf
> nname: Craig Russell
> nemail: [email protected]
> iname: Craig Russell
> iemail: [email protected]
> uname: Craig Russell
> uemail: [email protected]
> pname: Craig Russell
> pemail: [email protected]
> memail: [email protected]
> gname: Craig Russell
> gemail: [email protected]
> contact: Craig Russell
> cemail: [email protected]
> ipodling: " "
> email:addr: [email protected]
> email:id: "<[email protected]>"
> email:name: Craig Russell
> email:subject: !binary |-
> RU0gZGFzaCBjYXVzZXMgdHJvdWJsZSDigJQg
> svn:mime-type: application/pdf
>
>
>> On Aug 27, 2016, at 11:41 AM, Craig Russell <[email protected]> wrote:
>>
>> This email causes (still pending email) an error sending mail.
>>
>> I suspect it is because of the em-dash in the subject.
>>
>> I don’t know how to look at or edit the pending.yml on the server.
>>
>> From: Gosha Arinich <[email protected] <mailto:[email protected]>>
>> Date: Sat, 27 Aug 2016 03:03:00 +0300
>> Message-ID:
>> <ca+ttpjt-+d5_o4uqksv+1dbs_fafwfy4zrmtjspxey48ae3...@mail.gmail.com
>> <mailto:ca+ttpjt-+d5_o4uqksv+1dbs_fafwfy4zrmtjspxey48ae3...@mail.gmail.com>>
>> Subject: =?UTF-8?Q?ICLA_=E2=80=94_Gosha_Arinich_aka_goshakkk?=
>> To: [email protected] <mailto:[email protected]>
>>
>> So, two issues: the pending mail needs to be sent; the bug needs to be fixed.
>>
>> Thanks,
>>
>> Craig
>>
>>> Begin forwarded message:
>>>
>>> From: Gosha Arinich <[email protected] <mailto:[email protected]>>
>>> Subject: ICLA — Gosha Arinich aka goshakkk
>>> Date: August 26, 2016 at 5:03:00 PM PDT
>>> To: [email protected] <mailto:[email protected]>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Gosha
>>>
>>
>> Craig L Russell
>> Secretary, Apache Software Foundation
>> [email protected] <mailto:[email protected]> http://db.apache.org/jdo
>> <http://db.apache.org/jdo>
>
> Craig L Russell
> Architect
> [email protected]
> P.S <mailto:[email protected]>. A good JDO? O, Gasp!
>
>
>
>
>
Craig L Russell
Architect
[email protected]
P.S. A good JDO? O, Gasp!