aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2009-06-16 13:16:28 +0000
committerMichal Marek <mmarek@suse.cz>2009-06-16 13:16:28 +0000
commit0b317b72ae6f23eb4dbd0a22509a20ff5acb2958 (patch)
treefc1a05be21aa1ea7a36a9ef385ac60d1abbb3647 /lib/url.c
parentafe06d15639d9add4c62880a3020c3707fdff9f9 (diff)
- When doing non-anonymous ftp via http proxies and the password is not
provided in the url, add it there (squid needs this).
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
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 */