Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defensive code against report blank line causing panic #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterkellydev
Copy link

No description provided.

arp242 added a commit to Teamwork/spamc that referenced this pull request Aug 30, 2017
Some emails cause a panic. Minimal test case:

	Received: by 10.103.127.199 with HTTP; Tue, 29 Aug 2017 16:03:25 -0700 (PDT)
	Content-Type: multipart/alternative; boundary=3968118d3c1f8f73068bd950e51e704e052a58b415eb7d2e6c11c40caa51
	From: "example example" <[email protected]>

	--3968118d3c1f8f73068bd950e51e704e052a58b415eb7d2e6c11c40caa51
	Content-Transfer-Encoding: quoted-printable
	Content-Type: text/html

	<div dir=3D"auto">XXXXXXXXXXXXXX. Supprim=C3=A9e les.&nbsp;</div><div class=
	=3D"gmail_extra"><br><div class=3D"gmail_quote">Le&nbsp;29 ao=C3=BBt. 2017 =
	15:38, &quot;XXXXXX&quot; &lt;<a href=3D"mailto:[email protected]">s=
	[email protected]</a>&gt; a =C3=A9crit&nbsp;<br>

	, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.</i></font>

	--3968118d3c1f8f73068bd950e51e704e052a58b415eb7d2e6c11c40caa51--

This fix has been proposed twice before:

- saintienn#5
- saintienn#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant