W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Sanitising HTML content through sandboxing

From: Ryan Seddon <seddon.ryan@gmail.com>
Date: Fri, 11 Nov 2011 10:05:35 +1100
Message-ID: <CADsa-VcKtr3FQY+xv1n0OQtNU1M5SJ8Hd=UQjRtbrETHWJdEfA@mail.gmail.com>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: public-webapps@w3.org
> DOMParser.parseFromString already takes a content type as the second
 argument. The plan is to support HTML parsing when the second argument
> is text/html.

I quite like this as it keeps it agnostic towards what it is parsing so
other formats like MathML and SVG won't look out of place with HTMLParser

How would this handle sanitising?

Received on Thursday, 10 November 2011 23:06:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 13:55:46 UTC