2
0
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:
rudolfkoenig 2019-01-16 08:06:37 +00:00
parent 6bc1aa9893
commit c5d8131408

View File

@ -499,6 +499,7 @@ FW_Read($$)
"Upgrade: websocket\r\n" . "Upgrade: websocket\r\n" .
"Connection: Upgrade\r\n" . "Connection: Upgrade\r\n" .
"Sec-WebSocket-Accept:$shastr=\r\n". "Sec-WebSocket-Accept:$shastr=\r\n".
$FW_headerlines.
"\r\n" ); "\r\n" );
$FW_chash->{websocket} = 1; $FW_chash->{websocket} = 1;