Re: Error in URL detection

Erik Hahn <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <20081108225309.GA8878@eriks>
On Mon, Nov 03, 2008 at 09:35:44PM +1100, andrew wrote:
> On Sun, Nov 02, 2008 at 01:42:51AM +0100, Erik Hahn wrote:
> 
> > I've stumbled upon a small error in the URL detection for shift-U. In a
> > text like:
> > 
> > 	When I try to load this website (http://www.tinyurl.com/)I get
> > 
> > slrn offers me to open "http://www.tinyurl.com/)I", obvious nonsense.
> 
> I can confirm this with 0.9.9p1 although it took me a little while to
> realise that you meant the URI as follows:
> 
> +--------------------
> 
> (http://www.tinyurl.com/)I
> 
> +--------------------
> 
> To be fair Mutt makes the same assumption and fails in the same way.
> 
>   Andrew

With the default config, yes. It doesn't with this line in .muttrc:

color body  brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+

Maybe that helps with fixing the issue.

-- 
v4sw5RUYhw2ln3pr5ck0ma2u7Lw3+2Xm0l6/7Gi2e2t3b6AKMen5+7a16s0Sr1p-8.12/-6.56g6OR

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.