[Bug 879107] [NEW] apt-get re-encodes URL-encoded characters from an HTTP redirect

Matt Alexander 879107 at bugs.launchpad.net
Thu Oct 20 21:33:10 UTC 2011


Public bug reported:

Using apt-get on Ubuntu 10.04, for example, installs of packages that
contain a '+' character in the name when being redirected to another
host fail to install.  If the server encodes '+' as %2B, then apt-get
will re-encode the '%' as %25, resulting in %252B in the new GET URL.
This breaks installs.

This appears to have been fixed in Debian upstream apt-0.8.15, but it's
still a problem for the LTS releases.  http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=602412

Please backport the fix in apt-0.8.15 to Ubuntu 10.04.  This is
important for enterprises running Ubuntu 10.04 that use a mirror for
package installs.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/879107

Title:
  apt-get re-encodes URL-encoded characters from an HTTP redirect

Status in “apt” package in Ubuntu:
  New

Bug description:
  Using apt-get on Ubuntu 10.04, for example, installs of packages that
  contain a '+' character in the name when being redirected to another
  host fail to install.  If the server encodes '+' as %2B, then apt-get
  will re-encode the '%' as %25, resulting in %252B in the new GET URL.
  This breaks installs.

  This appears to have been fixed in Debian upstream apt-0.8.15, but
  it's still a problem for the LTS releases.  http://bugs.debian.org
  /cgi-bin/bugreport.cgi?bug=602412

  Please backport the fix in apt-0.8.15 to Ubuntu 10.04.  This is
  important for enterprises running Ubuntu 10.04 that use a mirror for
  package installs.

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




More information about the foundations-bugs mailing list