[PATCH] encode mail address when passing via KApplication::invokeMailer

Oswald Buddenhagen ossi at kde.org
Sat Jan 8 14:53:32 GMT 2005


On Sat, Jan 08, 2005 at 03:45:06PM +0100, Ingo Klöcker wrote:
> This does already break for the simple email address
>   "User, Joe" <joe.user at kde.org>
> So please NEVER try to split a list of email addresses with a 
> QStringList::split( ',', foo ).
> 
this is relatively theoretical, as we are mostly talking about mailto:
urls and hard-coded links which hardly ever include a real name.

> While improving Tobias patch I also fixed the code which builds the
> mailto: url. Splitting the comma separated lists of email addresses
> isn't necessary (according to RFC 2368 - The mailto URL scheme),
> neither for the path (where the To addresses are put) nor for the
> queries. Moreover, I thought it might be useful to actually specify
> the protocol of the URL. Or does KURL automagically guess the right
> protocol? Even if the path is empty?
> 
i don't care about the details, but if you break %u for mutt, i'll make
you a head shorter. ;)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list