Opened 12 years ago

Closed 12 years ago

#2070 enhancement closed duplicate (duplicate)

cr+lf replacement in

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


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 12 years ago by kaimorich

Resolution: duplicate
Status: newclosed

comment:2 Changed 8 years ago by <automation>

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