[Esd-l] Has anyone tried removing HTML "code" via a sanitizer process??

John D. Hardin jhardin at impsec.org
Thu Oct 23 16:51:33 PDT 2003


On Thu, 23 Oct 2003, daniel lance herrick wrote:

> You have multipart/alternative and the browser is
> choosing the web-imitation alternative. If you
> change the "Content-Type: text/html" to something
> like "Content-Type: text/petunia" then the browser
> won't know how to display the "text/petunia" part
> and will choose the other part.

Ooo. Neat idea. MIME type translation...

/etc/procmail/mime-translate:

	text/html text/petunias

{big snip}

...trim replies, folks!

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                        pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  "It seems that some companies in the industry would rather use
  deception rather than try and work things out diplomatically,
  one-to-one."
			-- Blake Stowell, SCO PR director, on RedHat
-----------------------------------------------------------------------
   13 days until Matrix Revolutions



More information about the esd-l mailing list