[Bug 1087512] Re: proxy authentication not working for HTTPS sources

Bug Watch Updater 1087512 at bugs.launchpad.net
Thu May 9 09:01:04 UTC 2013


** Changed in: apt (Debian)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1087512

Title:
  proxy authentication not working for HTTPS sources

Status in “apt” package in Ubuntu:
  New
Status in “apt” package in Debian:
  Fix Released

Bug description:
  How to reproduce:
  - have an APT repository over https
     deb https://my.repo/ubuntu precise main
  - have APT go though an HTTP proxy which requires HTTP authentication

     apt-get  -o
  Acquire::http::proxy="http://test:test11@localhost:3128/"  update

  Expected results:
  package lists are downloaded correctly

  Actual result:
  Failed to fetch https://my.repo/ubuntu/dists/precise/main/binary-amd64/Packages  The requested URL returned error: 407
  etc

  The problem is that the https transport mangles the proxy string
  before passing it to curl and strips the proxy credentials.

  See attached patch to fix it.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: apt-transport-https 0.8.16~exp12ubuntu10.6
  ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
  Uname: Linux 3.2.0-32-generic x86_64
  ApportVersion: 2.0.1-0ubuntu14
  Architecture: amd64
  Date: Thu Dec  6 16:39:10 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   TERM=rxvt-unicode
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt
  UpgradeStatus: Upgraded to precise on 2012-05-16 (204 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1087512/+subscriptions




More information about the foundations-bugs mailing list