-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

discussion in #695632 has led to the following conclusion:

RFC 2046 [1] states that any line break in text/* MIME parts must be CRLF 
regardless of format. Thus, alpine's way of doing things - converting line 
breaks to CRLF - is correct and the BTS' MIME interpretation is wrong.

The BTS, when decoding text/* MIME parts, has to convert any CRLF to LF 
ones (as in, strip exactly one CR occurence preceding any LF). This 
behaviour is also correct for text that had reall CRLF line breaks in its 
original form as those will be CRCRLF after MIME encoding.

We, mirabilos and I, thereby conclude that the BTS corrupts data by not 
following the RFC for MIME transport.

I also chose to close #695632 with this message.

Cheers,
Nik

[1] https://tools.ietf.org/html/rfc2046#section-4.1.1

- - -- 
* mirabilos is handling my post-1990 smartphone *
<mirabilos> Aaah, it vibrates! Wherefor art thou, daemonic device??

PGP fingerprint: 2086 9A4B E67D 1DCD FFF6  F6C1 59FC 8E1D 6F2A 8001
y
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQFOBAEBCAA4BQJQyEEPMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQWfyOHW8qgAG6rwf9FuzC8jF1HOQL3P316XLT
erT1zbo/2FSzer7N9MDTAlMLbfz+pNK4/lyt2kPu23O0J/lbVcB1SH/h2yaBZMJm
6sm9vtnpz9Qsa5lFDKJg3zbnYgZYKqMYAmasi3ryxh+wecJJxcVpYkbacpgjSaqy
HMGLNaSqFoJ/S7IH9g4yTUL03CWTXHWSWyyVkdNolzlbqcN7PgQZWJE5m2vFMy9a
cvZJCM7BqRbvZjfoYGi5A1L0JFwrB+1soSl71pm0HELzfIbVtXGQKhOOBZqrmTsY
geILTz88Zn9eJfBPxKiuLRwmYk/N3VaoLZ3NlLsnR/twnqL8IoQpd3LI+F+k0x7l
rg==
=z+Lg
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to