aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-15 10:29:12 +0000
committerMario <mario@mariovavti.com>2024-07-15 10:29:12 +0000
commit2d467a15ba9037f33b1f168995bc4fe7140c415d (patch)
tree40cbf6dd8eb099786638dd5df32302df9ceb429c /Zotlabs
parent28c8229218c93e67c27eb3adcdafc984f24f2d3c (diff)
downloadvolse-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.php4
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])
);