Bug 236401 - WKWebView: WKURLSchemeHandler “request to the end of the resource” produces an invalid header
Summary: WKWebView: WKURLSchemeHandler “request to the end of the resource” produces a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
: 236796 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-09 12:59 PST by Eric Carlson
Modified: 2022-05-26 15:06 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.09 KB, patch)
2022-02-09 13:08 PST, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2022-02-09 12:59:56 PST
Bug 203302 added support for Range requests to AVAssetResourceLoadingDataRequest, but it incorrectly uses '*' for "last-byte-pos:" for a request to the end of the resource.
Comment 1 Eric Carlson 2022-02-09 13:00:16 PST
rdar://88528286
Comment 2 Eric Carlson 2022-02-09 13:08:54 PST
Created attachment 451432 [details]
Patch
Comment 3 Brent Fulgham 2022-02-09 13:51:11 PST
Comment on attachment 451432 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=451432&action=review

r=me

> Source/WebCore/ChangeLog:3
> +        WKWebView: WKURLSchemeHandler ârequest to the end of the resourceâ produces an invalid header

Smart quotes?
Comment 4 EWS 2022-02-09 14:57:12 PST
Committed r289502 (247039@main): <https://commits.webkit.org/247039@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451432 [details].
Comment 5 Maciej Stachowiak 2022-02-18 00:41:57 PST
*** Bug 236796 has been marked as a duplicate of this bug. ***
Comment 6 Brent Fulgham 2022-05-26 15:06:21 PDT
This fix shipped with Safari 15.5 (all platforms).