Filters and multiple occurrences of headers

Julien ÉLIE julien at trigofacile.com
Fri Jul 30 14:23:51 UTC 2010


>>    "If any of the headers are duplicated, though, %hdr will contain
>>    only the value of the last occurrence of the header."
>
> I have just tested and our documentation is inaccurate.  %hdr contains
> the same value as what is in the overview.

Hmm...  The documentation was in fact true, but incomplete.
It is what happens with nnrpd (*last* occurrence in the Perl filter,
because of the way the array is parsed).
But with innd, it is the *first* occurence (written in the overview,
for both Perl and Python filters).

-- 
Julien ÉLIE

« Il avait juste assez de culture pour faire
  des citations fausses. » (Byron) 




More information about the inn-workers mailing list