[Esd-l] problem with "<IMG" being defanged in uuencoded content

Peter van Campen Peter.vanCampen at sci.kun.nl
Fri Feb 28 09:23:17 PST 2003


	Hi,

a few days ago a user showed me a print-out of part of uuencoded content
(not literally typed over):

MABCDHKP<BV%^*OVXXMKJUJK<M<LKJMMNBBBBBNKJNKJNKHGVC
MHKP<BV%^*OVXXMKJUJK<M<LKJMMNBBBBJMGHYTFRDCHGCVHLK
MABCDHKP<KLGJHGYUTVCRDVBJHM<PL"L%^*OVXXJMMNBBBBBNK
MABCDHKP<BV%^*OVXXM<DEFANGED_IMG%<M<LKJMMNBBBBBNKJNKJNKHGVC
MFHJMGFHGYTRGCVNGVHYYHKP<BV%^*OVXXMKJUJK<M<LKJMMNB

Note the "DEFANGED" between the "<" and the "IMG".

Is there a solution to this (regognizing uuencoded content),
or would a workaround like changing:
	s/<IMG/<DEFANGED_IMG/gi;        #\
to
	s/<IMG /<DEFANGED_IMG /gi;        #\
suffice, by making it happen even less often?

				Regards
				Peter

P.S.: and apart from this little problem: we're very happy with the
      procmail sanitizer.  Thanks, John!
+----------------------------------------------------------------------------+
Peter.vanCampen at sci.kun.nl, Computer & Communications Dept, Faculty of Science
Nijmegen University, 6525 ED NIJMEGEN, The Netherlands, tel: +31 (0)24 3653535
+----------------------------------------------------------------------------+


More information about the esd-l mailing list