Re: non-printable characters in headers

Matthias Andree <[email protected]> Sat, 14 May 2016 13:32:19 +0200
Newsgroups gmane.network.leafnode
Message-ID <[email protected]>
Am 14.05.2016 um 07:25 schrieb thufir:
> This notice is that article can't be stored?
> 
> thufir@mordor:~$ article /var/spool/news/soc/history/62 contained illegal 
> headers: non-printable characters in headers (relaxed check allows for 
> iso-8859*)
> 
> There's no article 62 in /var/spool/news/soc/history/

That's the situation - upon encountering invalid characters in headers,
leafnode deletes the offending article.

Check the function legalxoverline() near line 206 in leafnode 1's
xoverutil.c. It does not permit the ASCII DEL, control characters except
HTAB (ranges below ASCII value 32, and 127...159 inclusively).

Leafnode (both the 1 and 2 versions) predate RFC-6532 and have not been
updated to support it.