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

Oswald Buddenhagen ossi at kde.org
Sat Jan 8 16:38:01 GMT 2005


On Sat, Jan 08, 2005 at 05:18:39PM +0100, Ingo Klöcker wrote:
> > the changed composer does not permit multiple to=s, a thing i do
> > pretty often (not in urls, though, but that's because i don't do much
> > html).
> 
> I didn't touch the code which rips mailto: URLs apart (and thus it's 
> irrelevant that I didn't test with multiple to/cc/bcc). I just changed 
> the code of invokeMailer( to, cc, bcc, ... ), i.e. the code which 
> creates a new mailto URL from the given to, cc and bcc. According to 
> the above mentioned RFC the value after to=, cc= or bcc= has to be the 
> value of a RFC 822 message header encoded as URL. In particular, 
> multiple addresses are allowed per to=, cc= or bcc=.
> 
yes, but to: is special: the first element (and only the fist one)
happens to be the "core address". you removed this code without
replacement. i don't think we can get around this problem without
properly splitting the list.

-- 
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