Relaxing a few checks
Kamil Jońca
kjonca at o2.pl
Sat Apr 1 16:05:52 UTC 2017
Julien ÉLIE <julien at trigofacile.com> writes:
> Hi Kamil,
>
>> I wrote another patch.
>> This collect empty header names, and if there is any, add
>> X-Mailpost-Empty-Hdrs field (with collected names) to post.
>
> It is indeed another solution, that has the advantage of keeping
> trace of the removal of empty header fields.
>
>
> In your patch:
>
> $emptyhdrs=join(", " , @emptyHdrs);
> while (length ($emptyhdrs) >975 ){ #998-length "X-Mailpost-Empty-Hdrs: ")
> $emptyhdrs=substr($emptyhdrs,0,rindex($emptyhdrs,","));
> }
>
> Instead of stripping a possible too long line, why not keep all
> the header field names and use folding?
Good point. I think it would be better.
>
> For instance with:
>
> $emptyhdrs=join("\n\t" , @emptyHdrs);
You re right .
[..about very long header names...]
I think it is so rare, so can be handled manually.
KJ
--
http://wolnelektury.pl/wesprzyj/teraz/
"Uchodzić za idiotę w oczach kretyna - to rozkosz dla smakosza"
[Georges Courteline]
More information about the inn-workers
mailing list