[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#669620: apt-transport-https: proxy authentication credentials are ignored



Package: apt-transport-https
Version: 0.8.10.3+squeeze1
Severity: important
Tags: squeeze

--- apt-0.8.10.3+squeeze1/methods/https.cc	2011-04-15 09:30:33.000000000 +0200
+++ -	2012-04-20 14:41:07.907097097 +0200
@@ -86,10 +86,7 @@
    // Determine what host and port to use based on the proxy settings
    if (UseProxy.empty() == false) 
    {
-      Proxy = UseProxy;
-      if (Proxy.Port != 1)
-	 curl_easy_setopt(curl, CURLOPT_PROXYPORT, Proxy.Port);
-      curl_easy_setopt(curl, CURLOPT_PROXY, Proxy.Host.c_str());
+     curl_easy_setopt(curl, CURLOPT_PROXY, UseProxy.c_str());
    }
 }									/*}}}*/
 // HttpsMethod::Fetch - Fetch an item					/*{{{*/


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
***************************************************
Automatisch angehangener Disclaimer von SHD
aufgrund der aktuellen Rechtslage
***************************************************
SHD System-Haus-Dresden GmbH - Computerloesungen 
Geschaeftsfuehrer: Dr. Frank Karow, Dr. Falk Ambos
Sitz der Gesellschaft ist Dresden
Handelsregister: HRB Nr. 329 Amtsgericht Dresden
Umsatzsteueridentifikationsnummer: DE140131570
***************************************************



Reply to: