Bug#853915: reportbug: Retrieved base64 messages aren't decoded
control: reassign 853915 bugs.debian.org
control: affects 853915 reportbug
- Browsing bug logs in reportbug is broken for some messages
- Bug log messages retrieved from the BTS via the SOAP interface
are supposed to be decoded, but in these cases aren't.
- All MIME multipart messages are affected (e.g., messages with
attachments, PGP/MIME signed messages)
- The debbugs code itself seems fine (AFAICS)
> Looking now at the code starting here:
> 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?
To check whether a problem with some old version of libmime-tools-perl
could be behind this, I've tested this with the versions in stretch
(oldstable) and jessie (old-oldstable), but couldn't reproduce the
problem there either.
it is now also clear that I've looked at the correct code, and the code
is actually working as intended in another debbugs installation. (Due to
this bug (#853915), #910360 actually currently does not apply to Debian,
because `get_bug_log` SOAP queries have been returning complete messages
with all attachments since at least 2017.)
So the problem is specific to bugs.debian.org. Reassigning accordingly.