close
Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Opened 23 months ago

Closed 23 months ago

Last modified 18 months ago

#385 closed enhancement (fixed)

YAM ignores headerlines starting with "newline"

Reported by: padrino Owned by:
Priority: undecided Milestone: YAM 2.8p1
Component: MIME handling Version: nightly build
Severity: major Keywords:
Cc: OS Platform:
Blocked By: Blocking:
Release Notes:

fixed a bug in the mail header parsing routines where a header line starting with a newline cause problems.

Description

I don't know if this is a bug, or fine due to definition, but YAM cannot/does not handle headerlines that start with newlines.

Eg.

SUBJECT:
This is a subject

Will be displayed with "empty subject", whereas

SUBJECT: This is a
subject

displays the complete string "This is a subject".

Attachments (1)

newline.eml (44.5 KB) - added by padrino 22 months ago.
Example mail attached on request for reference

Download all attachments as: .zip

Change History (6)

comment:1 Changed 23 months ago by tboeckel

I don't know how the RFC s handle this case. I think Jens can give a better answer if this is valid or not. Perhaps you can provide an example mail.

Last edited 23 months ago by tboeckel (previous) (diff)

comment:2 Changed 23 months ago by tboeckel

  • Component changed from undefined to MIME handling
  • Milestone set to YAM 2.8p1
  • Status changed from new to accepted

I just checked a manipulated mail with ThunderBird and MS Outlook and both displayed a subject starting on a new line correctly. Hence I'd say YAM is at fault here.

comment:3 Changed 23 months ago by tboeckel

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [6579]) * YAM_MAf.c: reworked the mail header parsing to accept initial header lines without content. The content may now start on the next to be parsed line. This closes #385.

comment:4 Changed 23 months ago by tboeckel

Mario, although this issue should be fixed now we still like to get some example mail for reference/evidence. Would you please provide one?

Changed 22 months ago by padrino

Example mail attached on request for reference

comment:5 Changed 18 months ago by damato

  • Release Notes modified (diff)

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber

  • Mario Cattaneo(Reporter)