Merge branch 'ent-5325-CSRF-XSS-realtime-graphs' into 'develop'
Added enconding to POST variables realtime graphs See merge request artica/pandorafms!3019
This commit is contained in:
commit
f6cb7eb3d7
|
@ -109,6 +109,6 @@ if (empty($data)) {
|
|||
}
|
||||
|
||||
echo '{
|
||||
"label": "'.$graph_title.'",
|
||||
"data": [["'.time().'", '.$data.']]
|
||||
"label": "'.htmlspecialchars($graph_title, ENT_QUOTES).'",
|
||||
"data": [["'.time().'", '.htmlspecialchars($data, ENT_QUOTES).']]
|
||||
}';
|
||||
|
|
Loading…
Reference in New Issue