| Summary: | Safari strips whitespace around comma when setting with document.cookie | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | April King <april> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | achristensen, ap, cdumez, webkit-bug-importer, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
April King
2022-10-25 17:44:49 PDT
One theory is that the cookie value is parsed by a function that treats commas as in HTTP, separating multiple values.
In NetworkStorageSessionCocoa.mm:
NSHTTPCookie *initialCookie = [NSHTTPCookie _cookieForSetCookieString:cookieString forURL:cookieURL partition:nil];
|