Bug 310830

Summary: cURL backend should support Secure cookies for HTTP loopback URLs
Product: WebKit Reporter: Xyan <x_bhatnagar>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer, x_bhatnagar
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=281149

Xyan
Reported 2026-03-26 13:14:19 PDT
This involves making the following changes to the cURL backend for WebKit: * For `NetworkStorageSessionCurl::getRawCookies`, instead of always including `Secure` cookies, only include `Secure` cookies if the URL scheme is HTTPS or the hostname is a loopback address (localhost, 127.0.0.0/8, ::1) * For `NetworkDataTaskCurl` and `WebSocketTaskCurl` add the loopback address condition for including `Secure` cookies.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-02 13:15:13 PDT
Note You need to log in before you can comment on or make changes to this bug.