[Webkit-unassigned] [Bug 247037] New: Safari seems to strip whitespace from cookies in some undetermined conditions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 25 17:44:49 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247037
Bug ID: 247037
Summary: Safari seems to strip whitespace from cookies in some
undetermined conditions
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: april at grayduck.mn
Extremely bizarre bug and I'm hard pressed to think of what would cause it but running this code:
> document.cookie="foo=hello , world"
< "foo=hello , world"
> document.cookie
< "foo=hello,world"
Shows that setting a cookie to "hello , world" causes it to be saved as "hello,world".
Note that using characters besides commas seem to not have this issue:
> document.cookie="foo=hello $ world"
< "foo=hello $ world"
> document.cookie
< "foo=hello $ world"
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221026/ced274e3/attachment.htm>
More information about the webkit-unassigned
mailing list