Subject: Re: WWW query engine bug (was Query-PR)
To: None <Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 02/21/1996 11:16:20
>From: Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU
>Date: Tue, 20 Feb 96 12:59:12 EST

>It's nice to allow people to include html, e.g. anchors to their home
>pages' URLs, in PRs, and have them come out as real html on the Web.
>In fact, i went to a great deal of work to fix things so that only
>valid tags were allowed, etc...
>
>But the question is: how can you tell 'intentional' html from
>something that just looks like HTML?  (and, what impact does that have
>on the software used to spit out PRs?)

You may need to restrict the tags you support; for instance, only
support links (<a href="URL">myurl</a>).  It's a lot harder for that
long a sequence to show up randomly than a simple <i>.

Another thing you can do is add code that recognizes uuencode and
base64 data, wraps it with <pre></pre>, but leave the data itself
unchanged.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil