Bug 236401

Summary: WKWebView: WKURLSchemeHandler “request to the end of the resource” produces an invalid header
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: adam, bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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).