[Bug 1657567] Re: "Content-Range: */<file size>" on non-416 responses considered invalid
Chris J Arges
1657567 at bugs.launchpad.net
Wed Mar 8 13:44:23 UTC 2017
Hello Julian, or anyone else affected,
Accepted apt into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.2.20 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apt (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
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/1657567
Title:
"Content-Range: */<file size>" on non-416 responses considered invalid
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Xenial:
Fix Committed
Status in apt source package in Yakkety:
In Progress
Bug description:
APT only allows Content-Range: */<filesize> to be specified on a 416
response. Sourceforge sometimes replies with that in a 302 redirect.
We should probably just accept and silently ignore that content-range
field for other values.
[Impact]
Issue breaks and other services that respond with a Content-Range header in a 302 redirect, or any non 416 one.
[Test Case]
Run
/usr/lib/apt/apt-helper download-file -o debug::acquire::http=1
http://www.jak-software.de/lp1657567 ubuntu.iso
Before:
E: Failed to fetch http://www.jak-software.de/lp1657567 The HTTP
server sent an invalid Content-Range header Bad header data
After:
Redirect is followed successfully and a zesty live image is being
downloaded.
[Regression Potential]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1657567/+subscriptions
More information about the foundations-bugs
mailing list