From kmail-devel Fri Apr 19 18:24:24 2002 From: Ingo =?iso-8859-1?q?Kl=F6cker?= Date: Fri, 19 Apr 2002 18:24:24 +0000 To: kmail-devel Subject: Re: Email address matching in KMReaderWin::strToHtml() X-MARC-Message: https://marc.info/?l=kmail-devel&m=101924282915726 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 19 April 2002 17:33, Marc Mutz wrote: > On Friday 19 April 2002 16:32, Dave Corrie wrote: > > > > 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. > > > I had a look at RFC 2822 to see if there was a limit on the length > > of valid email addresses, but I couldn't see anything relevant. Did > > I miss something? > > > > No, there's no limit. There's a soft limit of ~80 chars/line and a > hard limit of 988 chars/line, but they can be overcome with folding > addresses (or using qp soft linebreaking in the body). We should be careful with completely removing the limit because this=20 could maybe be exploited somehow. What about raising the limit to 4096 characters? This should be more=20 than enough. Regards, Ingo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8wGDYGnR+RTDgudgRApmSAJ977roMda8oTSKyJHLjLfmR8hAcGgCfVv9v Gva5OB0H9fpTGRSV0vu0CVY=3D =3DahZZ -----END PGP SIGNATURE----- _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail