> Somehow, when the code is run on the BTS server, the MIME::Parser seems
> to fail and the `parse` function code is falling back to the legacy
> pre-MIME code. Why?

The reason is that the perl code on the BTS server is executed in taint
mode, and MIME::Parser fails on multipart messages when run in taint
mode. Adding the -T flag to the perl invocation in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853915#65
reproduces the problem: The message body is not properly decoded.

Reply via email to