Package: ripmime
Version: 1.4.0.10.debian.1-2+b1
Severity: normal

Dear Maintainer,

ripmime fails to do quoted-printable decoding when I try to decode a
correctly formed message which contains the following headers:

Content-Disposition: inline;
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Type: text/html; charset=utf-8
MIME-Version: 1.0

The cause is that ripmime try to "fix" headers by taking ";" at end of
line as a sign of line continuation. It transforms the Content-Disposition
line and the next one to:

Content-Disposition: inline; Content-Transfer-Encoding: QUOTED-PRINTABLE

I have no workaround at the moment.


It could very well be that
https://github.com/inflex/ripMIME/commit/b78ee9417e39b54fa03c12f96e1aa2ad1977cd0a
fixes the problem but I didn't try it.

An option to disable header "fixing" could also be a good addition.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-updates'), (500, 
'stable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ripmime depends on:
ii  libc6  2.30-2

ripmime recommends no packages.

Versions of packages ripmime suggests:
pn  tnef  <none>

-- no debconf information

Reply via email to