Hi there,

Chiming in to say that we're also having this issue on RT version 3.8.15.
This other thread also references the issue: http://www.gossamer-threads.com/lists/rt/users/108219

Should we expect a fix on the 3.8.x branch as well ? It's a rather inconvenient bug considering it wasn't present before our upgrade from 3.8.8.

Thanks,

*David Moreau Simard*/
   IT Specialist/

On 12-11-12 11:20 AM, Ruslan Zakirov wrote:
Hi,

We have a branch that improves sitatuation with unknow encodings. It
will be part of future 4.0.x releases.

On Mon, Nov 12, 2012 at 8:16 PM, sac <[email protected]> wrote:
We recently had a request submitted to our RT system (version 4.0.4 on a
Linux Mint 13 box) that caused a crash.  I have narrowed this down to the
fact the e-mail had a header that read "Content-Type: TEXT/PLAIN;
charset=X-UNKNOWN; format=flowed" and this caused RT to crash:

cse-rt ~ # cat emailmessage | /usr/bin/rt-mailgate --debug --queue general
--action correspond --url https://cse-rt.unl.edu/
/usr/bin/rt-mailgate: temp file is '/tmp/E0FHMLj0Le/l_8jE5Tohr'
/usr/bin/rt-mailgate: connecting to
https://cse-rt.unl.edu//REST/1.0/NoAuth/mail-gateway
Unknown encoding 'x-unknown' at /usr/share/request-tracker4/lib/RT/I18N.pm
line 540

Stack:
   [/usr/share/perl/5.14/Carp.pm:79]
   [/usr/lib/perl/5.14/Encode.pm:187]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:540]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:214]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:210]
   [/usr/share/request-tracker4/lib/RT/EmailParser.pm:282]
   [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:1405]
   [/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]

RT server error.

The RT server which handled your email did not behave as expected. It
said:

Unknown encoding 'x-unknown' at /usr/share/request-tracker4/lib/RT/I18N.pm
line 540

Stack:
   [/usr/share/perl/5.14/Carp.pm:79]
   [/usr/lib/perl/5.14/Encode.pm:187]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:540]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:214]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:210]
   [/usr/share/request-tracker4/lib/RT/EmailParser.pm:282]
   [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:1405]
   [/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]


As far as I've been able to determine, any message with the header in
question causes a crash. I have not been able to determine how the
"X-UNKNOWN" header was added, but the original mail client was a recent
version of Alpine.


--------
We're hiring! http://bestpractical.com/jobs



--------
We're hiring! http://bestpractical.com/jobs

Reply via email to