We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e244f commit 93c47adCopy full SHA for 93c47ad
api/schedule.php
@@ -325,7 +325,7 @@ function renderSvg($svg, $id) {
325
$json = stripslashes($_POST['data']);
326
327
// Make sure the object was successfully decoded
328
- $json = json_decode($json, true);
+ $json = sanitize(json_decode($json, true));
329
if($json == null) {
330
die(json_encode(array("error" => "argument", "msg" => "The schedule could not be decoded", "arg" => "schedule")));
331
}
0 commit comments