curl-library
Re: Couldn't resolve host name
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Sep 2010 00:09:25 +0200 (CEST)
Date: Wed, 15 Sep 2010 00:09:25 +0200 (CEST)
On Tue, 14 Sep 2010, Alona Rossen wrote:
> We receive "Couldn't resolve host name" error on some of our UNIX and
> Windows boxes when trying to access specific URI.
>
> For example, one of our Windows boxes fails for
> "smtp://<my_login>@rogers.com:<my_pwd>@smtp.broadband.rogers.com:587",
> while this URI is accessible from a different box. Any suggestions?
There seems to be an extra @ letter in that URL within the user name field, is
that correct? It needs to be URL encoded as it has a magic meaning within
URLs: it separates the user+password field from the host name part.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-09-15