Opened 11 years ago

Closed 11 years ago

#2070 enhancement closed duplicate (duplicate)

cr+lf replacement in pop3.py/transformChunk()

Reported by: kaimorich Owned by:
Priority: normal Milestone:
Component: mail Keywords:
Cc: Branch:
Author:

Description

this function corrupts the mail content if the lines were already separated with \r\n

better use

return chunk.replace('\r', ").replace('\n', '\r\n').replace('\r\n.', '\r\n..')

instead of:

return chunk.replace('\n', '\r\n').replace('\r\n.', '\r\n..')

Change History (2)

comment:1 Changed 11 years ago by kaimorich

Resolution: duplicate
Status: newclosed

comment:2 Changed 7 years ago by <automation>

Owner: Jean-Paul Calderone deleted
Note: See TracTickets for help on using tickets.