Injector-Info

Marco d'Itri md at Linux.IT
Sat Feb 8 12:20:31 UTC 2003


Injector-Info will probably widely implemented in the next years. INN
installations tends to stick around for a long time without being
upgraded, so I think it's appropriate to start right now to forbid
injection of this header and make it available to filters.
Please apply.

(This file could also benefit from a indent pass to properly fix spaces
and tabs.)

--- nnrpd/post.c.orig	2003-02-08 12:59:23.000000000 +0100
+++ nnrpd/post.c	2003-02-08 13:00:12.000000000 +0100
@@ -51,6 +51,7 @@ HEADER	Table[] = {
     {	"Content-Type",		true,	HTstd,  0,    NULL,    NULL, 0 },
     {	"Content-Transfer-Encoding", true, HTstd,  0,    NULL,    NULL, 0 },
     {   "X-Trace",              false, HTstd,  0,    NULL,    NULL, 0 },
+    {	"Injector-Info",	false,	HTstd,	0,    NULL,    NULL, 0 },
     {   "X-Complaints-To",	false, HTstd,  0,    NULL,    NULL, 0 },
     {   "NNTP-Posting-Date",	false, HTstd,  0,    NULL,    NULL, 0 },
     {	"Xref",			false,	HTstd,  0,    NULL,    NULL, 0 },

-- 
ciao,
Marco


More information about the inn-workers mailing list