Public bug reported:

Currently CONNECT requests use the name of the proxy as Host value, instead of
the origin server's name.

According to RFC 2616 "The Host field value MUST represent the naming authority
of the origin server or gateway given by the original URL."

The current implementation causes problems with some proxy vendors. This
commit[0] fixes this.

# salsa
$ git describe --contains 86d4d98060f36c7e71c34af20a1193a75496ef72 
1.9.0~8 

# rmadison apt 
=> apt | 1.6.11 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, 
s390x 
=> apt | 1.8.1 | disco-updates | source, amd64, arm64, armhf, i386, ppc64el, 
s390x 
apt | 1.9.1 | eoan | source, amd64, arm64, armhf, i386, ppc64el, s390x

[0] - https://salsa.debian.org/apt-
team/apt/commit/86d4d98060f36c7e71c34af20a1193a75496ef72#54d3193c5d10a0032c80c3a6d3f069507265547f

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: apt (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: apt (Ubuntu Disco)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress


** Tags: sts

** Changed in: apt (Ubuntu)
       Status: New => Fix Released

** Also affects: apt (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Tags added: sts

** Changed in: apt (Ubuntu Bionic)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: apt (Ubuntu Disco)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: apt (Ubuntu Disco)
       Status: New => In Progress

** Changed in: apt (Ubuntu Bionic)
       Status: New => In Progress

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

Title:
  http:Fix Host header in proxied https connections

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to