VM's url matching is too greedy

skip at pobox.com skip at pobox.com
Sun Sep 23 08:06:56 EDT 2007


I can't figure out where it comes into play, but VM's notion of the extent
of a URL is too greedy.  In the emails they send out, discussion forums
often embed URLs in some [url]...[/url] tags, e.g.:

    [url]http://www.google.com/[/url]

VM highlights the trailing "[/url]" as part of the URL, so it sends too much
to your browser if you click the highlighted text.  I'm using VM 7.17 in
XEmacs 21.5.28.  I've never seen a situation where "[" appears unencoded in
a URL, so even if it's valid to leave it unencoded I think you'd have fewer
problems if you kept it out of the match set when looking for the end of the
URL.

-- 
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/




More information about the XEmacs-Beta mailing list