Changeset 267620 in webkit
- Timestamp:
- Sep 26, 2020, 6:51:33 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/websockets/ThreadableWebSocketChannel.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r267617 r267620 1 2020-09-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [SOUP] Slack.com is not working, new messages do not load due to WebSocket authentication failure issue 4 https://bugs.webkit.org/show_bug.cgi?id=149551 5 6 Reviewed by Michael Catanzaro. 7 8 The problem is that we are not including all the cookies in the web socket request. There are two cookies with 9 the Lax same-site policy set, that are not included for the websocket request. 10 11 * Modules/websockets/ThreadableWebSocketChannel.cpp: 12 (WebCore::ThreadableWebSocketChannel::webSocketConnectRequest): Add same site information to WebSocket requests. 13 1 14 2020-09-25 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp
r266467 r267620 34 34 #include "ContentRuleListResults.h" 35 35 #include "Document.h" 36 #include "FrameLoader.h" 36 37 #include "HTTPHeaderValues.h" 37 38 #include "Page.h" … … 121 122 request.setFirstPartyForCookies(document.firstPartyForCookies()); 122 123 request.setHTTPHeaderField(HTTPHeaderName::Origin, document.securityOrigin().toString()); 124 FrameLoader::addSameSiteInfoToRequestIfNeeded(request, &document); 123 125 124 126 // Add no-cache headers to avoid compatibility issue.
Note:
See TracChangeset
for help on using the changeset viewer.