[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Email address matching in KMReaderWin::strToHtml()
From:       Dave Corrie <kde () davecorrie ! com>
Date:       2002-04-19 19:13:48
[Download RAW message or body]

On Friday 19 April 2002 7:24 pm, Ingo Klöcker wrote:
> On Friday 19 April 2002 17:33, Marc Mutz wrote:
> > On Friday 19 April 2002 16:32, Dave Corrie wrote:
> > <snip>
> >
> > > a) Not turn addresses over 255 characters in length into
> > > hyperlinks (i.e. leave them as plain text)?
> > > b) Remove the limit of scanning only 255 characters, so that both
> > > the above cases are turned into hyperlinks?
> >
> > b.
> >
> <snip>
> 
> We should be careful with completely removing the limit because this
> could maybe be exploited somehow.

In that case, I should probably implement option (a) <see above>

> What about raising the limit to 4096 characters? This should be more
> than enough.

It was not the limit itself that concerned me - I don't think I've ever 
seen an email address as long as 255 chars. What I did not like was the 
current implementation of the limit (see example (2) in my original 
email).

Cheers,

Dave
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic