зеркало из https://github.com/mozilla/pjs.git
Fix for invalid attachment - Bug #: 41415 - r: jefft
This commit is contained in:
Родитель
19212f7595
Коммит
ad2de13c56
|
@ -558,9 +558,6 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
|
|||
|
||||
}
|
||||
if(3 == dashdashspace) {
|
||||
#ifdef DEBUG_BenB
|
||||
printf("SIGNATURE\n");
|
||||
#endif
|
||||
// "-- " is a fixed line.
|
||||
*outlinep='<'; outlinep++;
|
||||
*outlinep='b'; outlinep++;
|
||||
|
|
|
@ -155,6 +155,13 @@ MimeUntypedText_parse_line (char *line, PRInt32 length, MimeObject *obj)
|
|||
*/
|
||||
if (!uty->open_subpart)
|
||||
{
|
||||
// rhp: If we get here and we are being fed a line ending, we should
|
||||
// just eat it and continue and if we really get more data, we'll open
|
||||
// up the subpart then.
|
||||
//
|
||||
if (line[0] == CR) return 0;
|
||||
if (line[0] == LF) return 0;
|
||||
|
||||
PR_ASSERT(!begin_line_p);
|
||||
status = MimeUntypedText_open_subpart (obj,
|
||||
MimeUntypedTextSubpartTypeText,
|
||||
|
|
Загрузка…
Ссылка в новой задаче