diff options
author | Mario <mario@mariovavti.com> | 2024-07-15 10:29:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-15 10:29:12 +0000 |
commit | 2d467a15ba9037f33b1f168995bc4fe7140c415d (patch) | |
tree | 40cbf6dd8eb099786638dd5df32302df9ceb429c /Zotlabs | |
parent | 28c8229218c93e67c27eb3adcdafc984f24f2d3c (diff) | |
download | volse-hubzilla-2d467a15ba9037f33b1f168995bc4fe7140c415d.tar.gz volse-hubzilla-2d467a15ba9037f33b1f168995bc4fe7140c415d.tar.bz2 volse-hubzilla-2d467a15ba9037f33b1f168995bc4fe7140c415d.zip |
dbesc the workinfo json
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/QueueWorker.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/QueueWorker.php b/Zotlabs/Lib/QueueWorker.php index 24114438e..9e28999c9 100644 --- a/Zotlabs/Lib/QueueWorker.php +++ b/Zotlabs/Lib/QueueWorker.php @@ -59,7 +59,7 @@ class QueueWorker { $transaction = new \DbaTransaction(\DBA::$dba); $r = q("INSERT INTO workerq (workerq_priority, workerq_data, workerq_uuid, workerq_cmd) VALUES (%d, '%s', '%s', '%s')", intval($priority), - $workinfo_json, + dbesc($workinfo_json), dbesc($uuid), dbesc($argv[0]) ); @@ -105,7 +105,7 @@ class QueueWorker { $transaction = new \DbaTransaction(\DBA::$dba); $r = q("INSERT INTO workerq (workerq_priority, workerq_data, workerq_uuid, workerq_cmd) VALUES (%d, '%s', '%s', '%s')", intval($priority), - $workinfo_json, + dbesc($workinfo_json), dbesc($uuid), dbesc($argv[0]) ); |