cant store article: bogus Xref: header in INN 2.5 ?
Julien ÉLIE
julien at trigofacile.com
Wed Sep 7 16:53:25 UTC 2011
Hi Matija,
> note: I've also tried to kludge this myself in my 2.4.6 (newsfeed)
> cleanfeed.local perl script by dropping article instead of feeding it
> to xrefslaves if it contains multiple spaces in Xref header - but
> without luck: it seems that $hdr{'Xref'} is provided with stripped
> leading spaces already.
innd 2.4.6 marks the start of a header field body after leading spaces;
that's why it is also the case in innd's Perl filters.
If you want to drop such articles, a better place would be in your slave
INN 2.5.2: just put the reject in its local cleanfeed. As a reject
happens before the article is stored, no tradspool error (CrackXref)
should occur.
--
Julien ÉLIE
« – Ils transportent une arme secrète dans un tonneau !
– La cervoise tiède !!!
– Non, ça c'est une arme connue. » (Astérix)
More information about the inn-workers
mailing list