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 4c50d8bc0e
commit 20c7080f72

View File

@@ -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;