[rt-users] Handling EOL in incoming mail text attachments

Graham Dunn gdunn at inscriber.com
Wed Nov 3 12:15:50 EST 2004


We've had several instances recently where customers will mail in a text 
file with a non-txt extension (say example.log), and when viewing this 
attachment in the web ui, it's listed with a content-type of 
"application/octet-stream", and clicking to view it results in a file 
with improper EOL characters, eg.

Line1
Line2
Line3

will become
Line1Line2Line3

Is this something  that can be fixed by adjusting the content-type for 
the attachment, or is it more involved?

(RT3.2.2, apache 1.3.31,  mysql 4.0.21)

Thanks,
Graham



More information about the rt-users mailing list