[Bug 1003633] [NEW] Escape plus character in apt HTTP requests to work around Amazon S3 bug
Daniel Hartwig
1003633 at bugs.launchpad.net
Thu May 24 03:08:20 UTC 2012
Also, this 2007 thread:
[1] https://forums.aws.amazon.com/thread.jspa?threadID=16361
where AWS representatives expound on their "justification" some more.
Instead of being well-behaved netizens, they just document their
non-conformance – though there is no indication in these threads where
such documentation is, other than provided in examples.
That thread also indicates that the path is expected to be
URL-encoded, not just some characters. This probably means including
':' and others to avoid more unanticipated transforms.
--
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/1003633
Title:
Escape plus character in apt HTTP requests to work around Amazon S3
bug
Status in “apt” package in Ubuntu:
New
Bug description:
Amazon S3 performs incorrect query-string un-escaping on URLs and improperly converts the plus ('+') character to a space (' ') when processing incoming GET requests for files. This causes apt-get to get HTTP 404 errors when downloading packages from S3-hosted mirrors which include a + character in the name of the package.
For more background info, see:
https://forums.aws.amazon.com/thread.jspa?threadID=55746
One possibly solution is to change the call to QuoteString in http.cc
to include '+' in the character set, which would escape the plus
character to the %2B form, which will be properly processed by Amazon
S3.
Thanks,
Doug
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1003633/+subscriptions
More information about the foundations-bugs
mailing list