On 6 December 2012 13:27, Daniel Hartwig <email address hidden> 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.
On 6 December 2012 13:27, Daniel Hartwig <email address hidden> 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>