On 6 December 2012 13:27, Daniel Hartwig <mand...@gmail.com> wrote:
> Regardless of how debian-policy defines valid filenames /in control
> files/, the APT Acquire system and HTTP method can be used outside the
> context of debian control files, and should still issue
> correctly-formed HTTP requests and save the files properly.

Acquire system should be ok.  Attaching trivial patch for
methods/http.cc.  Rationale: space (#x20) is a delimiter in the
context of a HTTP Request-Line [1] and therefore must be
percent-encoded in the Request-URI.

[1] <http://tools.ietf.org/html/rfc2616#section-5.1>


** Attachment added: "percent-encode-space.diff"
   
https://bugs.launchpad.net/bugs/1086997/+attachment/3452781/+files/percent-encode-space.diff

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

Title:
  apt-get fails if a package has a space in its Filename

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to