Skip to content
Snippets Groups Projects
Commit 05602e24 authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Now strips final CR in multipart part.

Rev: src/modules/MIME/module.pmod.in:1.5
parent 673b2c27
No related branches found
No related tags found
No related merge requests found
/*
* $Id: module.pmod.in,v 1.4 1997/05/24 01:03:53 marcus Exp $
* $Id: module.pmod.in,v 1.5 1997/08/14 17:18:00 marcus Exp $
*
* RFC1521 functionality for Pike
*
......@@ -365,6 +365,8 @@ class Message {
encoded_data = 0;
decoded_data = parts[0][1..];
body_parts = map(parts[1..sizeof(parts)-2], lambda(string part){
if(sizeof(part) && part[-1]=='\r')
part = part[..sizeof(part)-2];
return object_program(this_object())(part[1..]);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment