Bug 243227 - [EventSource] Stop allowing trailing junk when parsing retry delay
Summary: [EventSource] Stop allowing trailing junk when parsing retry delay
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-26 13:16 PDT by Chris Dumez
Modified: 2022-07-27 16:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-07-26 13:16:02 PDT
Stop allowing trailing junk when parsing retry delay for EventSource:
- https://html.spec.whatwg.org/multipage/server-sent-events.html#processField

This aligns our behavior with Blink and Gecko.
Comment 1 Chris Dumez 2022-07-26 13:17:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2750
Comment 2 EWS 2022-07-27 16:36:11 PDT
Committed 252885@main (8d4846adfa1f): <https://commits.webkit.org/252885@main>

Reviewed commits have been landed. Closing PR #2750 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-07-27 16:37:15 PDT
<rdar://problem/97690876>