From 0b317b72ae6f23eb4dbd0a22509a20ff5acb2958 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 16 Jun 2009 13:16:28 +0000 Subject: - When doing non-anonymous ftp via http proxies and the password is not provided in the url, add it there (squid needs this). --- lib/url.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index cd79866c7..11e336c0f 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3831,6 +3831,7 @@ static CURLcode parse_url_userpass(struct SessionHandle *data, * set user/passwd, but doing that first adds more cases here :-( */ + conn->bits.userpwd_in_url = 1; if(data->set.use_netrc != CURL_NETRC_REQUIRED) { /* We could use the one in the URL */ -- cgit v1.2.3