[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-06-30 16:23:17
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday, 30. June 2001 18:09, Marc Mutz wrote:
> All in all the createReply() function is still very buggy, since it
> doesn't cope with (valid!) embedded (escaped) DQUOTE's in
> quoted-string's, nor does it seem to handle ',''s in quoted-string's.
> But fixing this would require a real parser, which I'm not going to
> write for _this_ code (doesn't mimelib provide an address-list
> parser?). I have to write one for the new mimelib-replacement,
> though. Also, it always assumes the default identity for it's "strip
> my own mail address" functionality.
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?
Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7Pfz1GnR+RTDgudgRAn75AKDk893d6MOqEHy0sWC1kJK5rEJLzgCfcrPr
kSIIod2MkohMOF0DMTSV/zA=
=JQ0v
-----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