Changeset 267693 in webkit
- Timestamp:
- Sep 28, 2020, 1:18:13 AM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.30/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/websockets/ThreadableWebSocketChannel.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.30/Source/WebCore/ChangeLog
r266916 r267693 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-10 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
releases/WebKitGTK/webkit-2.30/Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp
r259392 r267693 34 34 #include "ContentRuleListResults.h" 35 35 #include "Document.h" 36 #include "FrameLoader.h" 36 37 #include "HTTPHeaderValues.h" 37 38 #include "Page.h" … … 116 117 request.setFirstPartyForCookies(document.firstPartyForCookies()); 117 118 request.setHTTPHeaderField(HTTPHeaderName::Origin, document.securityOrigin().toString()); 119 FrameLoader::addSameSiteInfoToRequestIfNeeded(request, &document); 118 120 119 121 // Add no-cache headers to avoid compatibility issue.
Note:
See TracChangeset
for help on using the changeset viewer.