Opened 8 years ago

Closed 7 years ago

#139 closed defect (fixed)

Improve the colon-space check in headers

Reported by: Julien ÉLIE Owned by: eagle
Priority: medium Milestone: 2.6.1
Component: nnrpd Version: 2.6.0
Severity: normal Keywords:
Cc:

Description

Posting the below article generates that log in news.err:

Sep 15 21:37:08 news nnrpd[29674]: Bad header copying headers for Perl: 'message-id <test@…>'

nnrpd should check that syntax before calling the Perl filter.

POST
340 Ok, recommended message-ID <mt9rvr$sva$1@…>
From: <test@…>
Newsgroups: trigofacile.test
Subject: test
Date: Mon, 14 Sep 2015 15:40:14 +0000 (UTC)
message-id <test@…>

Test
.
441 437 No colon-space in "message-id <test@…>" header

Change History (2)

comment:1 Changed 7 years ago by Julien ÉLIE

Milestone: 2.6.12.6.x

Milestone renamed

comment:2 Changed 7 years ago by Julien ÉLIE

Milestone: 2.6.x2.6.1
Resolution: fixed
Status: newclosed

Fixed in INN 2.6.1 with commit [10070].

nnrpd now answers in the above case:
441 Invalid syntax encountered in headers (unexpected byte, no colon-space, or empty content line)

Note: See TracTickets for help on using tickets.