mhonarc-dev

Re: Inconsistent URL filtering?

2002-12-26 11:51:39
On December 25, 2002 at 21:50, Gunnar Hjalmarsson wrote:

When filtering text/plain messages, URLs are hyperlinked by default, and 
you have the option to prevent it through the 'nourl' argument.

For text/html messages it works the other way around, i.e. hyperlinks 
are stripped by default, and you have the option to preserve them 
through the 'allownoncidurls' argument.

I would suggest that mhtxthtml.pl is changed, so that hyperlinks in 
text/html messages are preserved by default, and that a 'nourl' argument 
is introduced for mhtxthtml.pl as well.

The snapshot builds preserve <A HREF> urls (minus javascript ones).
The 'allownoncidurls' opens up security problems, so I add the
preservation of <A HREF>'s since normal links require user activation.

As for 'nourl' applying to text/html, nope.  The sematics are based
for plain text data and it currently has no meaning for other media
types.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>