[Bug 878946] Re: apt mirror method sends bad query string for arch

Andrew Glen-Young 878946 at bugs.launchpad.net
Thu Oct 20 16:17:09 UTC 2011


** Patch added: "apt-mirror-querystring.diff"
   https://bugs.launchpad.net/bugs/878946/+attachment/2562929/+files/apt-mirror-querystring.diff

** Changed in: apt (Ubuntu)
   Importance: Undecided => Low

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

Title:
  apt mirror method sends bad query string for arch

Status in “apt” package in Ubuntu:
  New

Bug description:
  The apt mirror method sends a bad query string for arch if it is the
  first query string parameter.

  Current examples of query strings:
  "GET /mirrors.txt?archi386&dist=oneiric-security HTTP/1.1"
  "GET /mirrors.txt?archamd64&arch=i386&dist=oneiric-security HTTP/1.1"
  "GET /mirrors.txt?archamd64&dist=oneiric-proposed HTTP/1.1"

  Should be:
  "GET /mirrors.txt?arch=i386&dist=oneiric-security HTTP/1.1"
  "GET /mirrors.txt?arch=amd64&arch=i386&dist=oneiric-security HTTP/1.1"
  "GET /mirrors.txt?arch=amd64&dist=oneiric-proposed HTTP/1.1"

  I believe that the attached patch should resolve this issue.

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




More information about the foundations-bugs mailing list