mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
01_FHEMWEB.pm: Add X-FHEM-csrfToken to the Websocket header (Forum #95934)
git-svn-id: https://svn.fhem.de/fhem/trunk@18278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6bc1aa9893
commit
c5d8131408
@ -499,6 +499,7 @@ FW_Read($$)
|
||||
"Upgrade: websocket\r\n" .
|
||||
"Connection: Upgrade\r\n" .
|
||||
"Sec-WebSocket-Accept:$shastr=\r\n".
|
||||
$FW_headerlines.
|
||||
"\r\n" );
|
||||
$FW_chash->{websocket} = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user