[Esa-l] Mangled extentions

John D. Hardin jhardin at wolfenet.com
Wed Jul 26 19:45:17 PDT 2000


On 26 Jul 2000, Mark A. Hershberger wrote:

> I just did a diff between 1.111 and 1.115.  In a couple of places,
> MANGLED_EXTENTIONS has been been replaced with a hard-coded subset
> of that variable.  What is the reasoning behind this?

You're actually seeing a reordering of the code. Having the scanner
call after the poisoning/mangling was a bad idea - mangling the
attachment name made the sanitizer think it wasn't a document file.

Now the scanning occurs first.

--
 John Hardin KA7OHZ   ICQ#15735746   http://www.wolfenet.com/~jhardin/
 jhardin at wolfenet.com      pgpk -a finger://gonzo.wolfenet.com/jhardin
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
				-- Peter da Silva in a.s.r
-----------------------------------------------------------------------
   95 days until Daylight Savings Time ends





More information about the esd-l mailing list