- From: Anne van Kesteren <notifications@github.com>
- Date: Sun, 29 Nov 2026 23:22:28 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1982@github.com>
After checking that data starts with "bytes", position needs to point at the 6th code point, where whitespace or "=" can follow. It pointed at the 5th code point, the "s", so as written the algorithm failed for every input.
<!--
This comment and the below content is programmatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
***
<a href="https://whatpr.org/fetch/1982.html" title="Last updated on Nov 30, 2026, 7:21 AM UTC (26bfdcd)">Preview</a> | <a href="https://whatpr.org/fetch/1982/d7fc0fd...26bfdcd.html" title="Last updated on Nov 30, 2026, 7:21 AM UTC (26bfdcd)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/fetch/pull/1982
-- Commit Summary --
* Editorial: fix off-by-one in parse a single range header value
-- File Changes --
M fetch.bs (2)
-- Patch Links --
https://github.com/whatwg/fetch/pull/1982.patch
https://github.com/whatwg/fetch/pull/1982.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1982
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1982@github.com>
Received on Monday, 30 November 2026 07:22:33 UTC