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

List:       kmail-devel
Subject:    Re: [PATCH] Fix for the reply-to-all bug.
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2001-07-01 12:26:52
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday, 30. June 2001 21:27, Michael Häckel wrote:
> On Saturday, 30. June 2001 18:23, Ingo Klöcker wrote:
> > I wrote a simple parser in order to split comma separated lists of
> > email addresses to get the recipients we need to encrypt the
> > message to. It's in KMComposeWin::pgpProcessedMsg(). It handles
> > escaped characters (like double quotes and parentheses), quoted
> > strings and nested comments. I guess it could be reused for the
> > above purpose. Of course it should be moved into a separate
> > function (QStringList splitAddressList(const &QString)) first. The
> > question is where would be the best place for this function? Maybe
> > it could be a static member function of KMMessage?
>
> Actually such code is already there :-)
> It is called KMMessage::headerAddrField.
> However it deals with the 7 bit encoded headers.

And it doesn't handle:
- - comments, i.e. text included in parentheses
- - escaped double quotes

Instead it handles single quotes the same way as double quotes!?! Why? 
Single quotes are no special characters according to RFC822 and should 
therefore be treated as normal characters.

Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7PxcMGnR+RTDgudgRAk64AJ0WVLA5I1xpzGa1KckvlHH7334DvwCgtDGk
dvz3CdNXpnvAX+XRhdAPBns=
=EsIv
-----END PGP SIGNATURE-----
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.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