mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-20 04:59:34 +01:00
fix(webview): stop forwarding the session cookie on the websocket leg
The WebSocket leg sent the browser's whole Cookie header to a trusted dashboard, including Codeman's own codeman_session, which the dashboard could then replay against the API. Filter it through filterCookieHeader like the HTTP leg, and omit the header when nothing remains.
This commit is contained in:
1 parent
e99b42c387
commit
677e393fc3
3 files changed
+97
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"aicodeman": patch
|
||||
---
|
||||
|
||||
The WebSocket leg of a trusted web tab no longer forwards Codeman's own `codeman_session` cookie upstream, which the HTTP leg already stripped.
|
||||
Reference in new issue
Block a user