[Bug 1656352] Re: apt does not honor Proxy-Auto-Detect for HTTPS URLs

Julian Andres Klode julian.klode at gmail.com
Tue Jul 18 15:12:49 UTC 2017


This was fixed in the 1.5 series in artful. You can now return http,
https, and socks5h proxy URIs. Note that you also need to use

Acquire::https::Proxy-Auto-Detect

if you want it to be used for https.

The http method gained native https support, so you can now use http and
https with http, https, and socks5h proxies. I added a whitelist to the
proxy autodetection script to make it accept these URL types for any
http or https URLs.

** Changed in: apt (Ubuntu)
       Status: Triaged => 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/1656352

Title:
  apt does not honor Proxy-Auto-Detect for HTTPS URLs

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  apt(-get) does not honor Proxy-Auto-Detect configuration in any way
  for HTTPS URLs.

  ex: vi /etc/apt/apt.conf.d/99-proxy-auto-detect

  Acquire::http:Proxy-Auto-Detect "/path/to/app";

  "app" performs some actions and output the name of the proxy server
  according to some internal rules, in the form
  "http://proxy.domain.tld:1234/"

  This works perfectly for all HTTP-like "deb http://example.com/ xxx"
  URLs but is ignored for HTTPS URLs. Setting "Acquire::https:Proxy-
  Auto-Detect" or even the legacy variable name "ProxyAutoDetect"
  (without dashes) does not help either.

  This is very annoying as the very purpose of this auto-detection is to
  be network environment aware instead of using a hardcoded value for
  the proxy setting.

  This should be fixed. Thank you.

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



More information about the foundations-bugs mailing list