curl-library
Re: PATCH: Allow user:password to be passed in SMTP urls.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Mar 2010 15:49:26 +0100 (CET)
Date: Fri, 26 Mar 2010 15:49:26 +0100 (CET)
On Thu, 25 Mar 2010, Ben Greear wrote:
> And some other mail URLs as well. Seems to me that all could be enabled,
> and just let protocols ignore the username/password if they don't care.
> This patch just adds a few, however. I've only tested this with SMTP and
> SMTPS, but can't imagine it causing harm to the others.
>
> mail: Allow mail URLs to contain username/passwords.
There's no need to include the *S versions of the protocols in that check, as
all *S protocol versions (POP3S, IMAPS etc) of the handler struct also have
the non-S bits set in their 'protocol' bitmasks.
Otherwise I'm fine with allowing this.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-03-26