On Tue, 2002-07-02 at 08:26, Stephen J. Turnbull wrote:
vin> All those "<", ">", and
""" need to be
vin> untranslated in order to apply the patch. But since the
vin> whole thing is bound between a <PRE> - </PRE> pair, those
vin> htmlizations are not necessary, right?
The PRE element is still parsed, it just respects whitespace and
forbids certain other elements.
...and if the HTML escaping would not be done, it would be a security
hole [1].
vin> 1. Can we fix whatever it is that makes the
vin>
list-archive.xemacs.org entries so that it doesn't htmlize
vin> the actual patches?
Not easily. Currently the headers are parsed and made mousable,
references are added, and the entire body is simply enclosed in a PRE
element. I'm not sure how attachments are handled, but most patches
are not submitted as attachments.
ISTR that attachments would work. Wonder if it would be possible to
provide a "show raw message" link, something akin to how it's handled
for example in FreeBSD lists [2]?
vin> 2. Is there an easy way to un-htmlize a file?
PSGML probably has an `html-unquote' function or something like that.
You could also suck down the monthly archives, they're about 3MB each
on average.
[1] <
http://www.cert.org/advisories/CA-2000-02.html>
[2] <
http://docs.freebsd.org/mail/>
--
Ville Skyttä
ville.skytta at
xemacs.org