2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

console.js: encode the inform parameter (Forum #128651)

git-svn-id: https://svn.fhem.de/fhem/trunk@26335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-08-18 16:02:03 +00:00
parent 83e2f22a2a
commit a7d412817b

View File

@ -101,9 +101,9 @@ consFill()
if(FW_pollConn)
FW_closeConn();
var query = "?XHR=1"+
"&inform=type=raw;withLog="+withLog+";filter="+
encodeURIComponent(consFilter)+consFType+
var query = "?XHR=1&inform="+
encodeURIComponent("type=raw;withLog="+withLog+
";filter="+consFilter+consFType)+
"&fw_id="+$("body").attr('fw_id')+
"&timestamp="+new Date().getTime();
query = addcsrf(query);