mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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…
x
Reference in New Issue
Block a user