WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
227739
Only first set-cookie HTTP header in websocket http response is accepted
https://bugs.webkit.org/show_bug.cgi?id=227739
Summary
Only first set-cookie HTTP header in websocket http response is accepted
Shu Muto
Reported
2021-07-06 23:44:43 PDT
Second and third set-cookie headers do not seem to be processed.
Attachments
Patch
(4.28 KB, patch)
2021-07-07 15:21 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(6.63 KB, patch)
2021-07-13 16:38 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(6.93 KB, patch)
2021-07-14 09:59 PDT
,
Alex Christensen
achristensen
: review?
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2021-07-07 11:57:00 PDT
Does this still reproduce in iOS 15 beta? Could you please provide a test page if this is still an issue?
Alex Christensen
Comment 2
2021-07-07 15:21:38 PDT
Created
attachment 433084
[details]
Patch
Alex Christensen
Comment 3
2021-07-07 15:22:57 PDT
Here's a test that verifies that this has been fixed in the latest version as well as in the pre-iOS15/Monterey WebSocket implementation. I haven't verified that it was ever broken, so if it was or still is some other way, please let us know.
Geoffrey Garen
Comment 4
2021-07-07 16:53:26 PDT
Comment on
attachment 433084
[details]
Patch r=me
Shu Muto
Comment 5
2021-07-07 17:26:44 PDT
Thanks for telling me that this issue has been fixed in iOS 15 and creating tests that ensure the fix! I don't have Mac, so I can not install beta version. Sorry.
EWS
Comment 6
2021-07-07 18:46:14 PDT
Committed
r279705
(
239497@main
): <
https://commits.webkit.org/239497@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 433084
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-07-07 18:47:15 PDT
<
rdar://problem/80300158
>
Aakash Jain
Comment 8
2021-07-13 05:49:17 PDT
(In reply to EWS from
comment #6
)
> Committed
r279705
(
239497@main
): <
https://commits.webkit.org/239497@main
>
Newly added test http/tests/websocket/tests/hybi/multiple-set-cookies.htm is consistently failing on windows. History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fwebsocket%2Ftests%2Fhybi%2Fmultiple-set-cookies.html
WebKit Commit Bot
Comment 9
2021-07-13 05:49:59 PDT
Re-opened since this is blocked by
bug 227903
Alex Christensen
Comment 10
2021-07-13 16:22:13 PDT
Upon closer inspection, in pre-iOS 15 we get the cookies separated with a comma, but in iOS 15 we get the cookies separated with a semicolon, which matches Chrome and Firefox.
Alex Christensen
Comment 11
2021-07-13 16:38:18 PDT
Created
attachment 433456
[details]
Patch
Alex Christensen
Comment 12
2021-07-14 09:59:16 PDT
Created
attachment 433507
[details]
Patch
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug