On Wed, 2018-02-07 at 14:23 +0100, [email protected] wrote: > From: Veronika Kabatova <[email protected]> > > After changing submission via admin interface, CRLF newlines are > suddenly present in the body. Replace them back to '\n'. > > The issue was found after modifying submission via admin interface > using Python 2 and downloading the respective mbox file (git choked on > downloaded patch because of malformed line endings). Python 3's mail > module uses '\n' internally so the problem doesn't manifest there, but > the content received by Django/JS is still saved in the database with > CRLF line endings which shouldn't be there. > > Signed-off-by: Veronika Kabatova <[email protected]>
Looks a-ok to me. Thanks! Reviewed-by: Stephen Finucane <[email protected]> ...and applied. _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
